Page Contents
Home > @loopback/repository > InvalidRelationError
InvalidRelationError class
Signature:
export declare class InvalidRelationError<Props extends object = {}> extends Error
Extends: Error
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(reason, relationMeta, extraProperties) | Constructs a new instance of the InvalidRelationError class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| code | string | ||
| reason | string | ||
| relationName | string | ||
| relationType | RelationType | ||
| sourceModelName | string |