1 | import { RelationMetadata, RelationType } from '../relations';
|
2 | export declare class InvalidRelationError<Props extends object = {}> extends Error {
|
3 | code: string;
|
4 | reason: string;
|
5 | relationName: string;
|
6 | relationType: RelationType;
|
7 | sourceModelName: string;
|
8 | constructor(reason: string, relationMeta: RelationMetadata, extraProperties?: Props);
|
9 | }
|
10 | export declare function isInvalidRelationError(e: any): e is InvalidRelationError<any>;
|