Page Contents

Home > @loopback/repository > InvalidRelationError > (constructor)

InvalidRelationError.constructor

Constructs a new instance of the InvalidRelationError class

Signature:

constructor(reason: string, relationMeta: RelationMetadata, extraProperties?: Props);

Parameters

Parameter Type Description
reason string  
relationMeta RelationMetadata  
extraProperties Props