Page Contents

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

EntityNotFoundError.constructor

Constructs a new instance of the EntityNotFoundError class

Signature:

constructor(entityOrName: typeof Entity | string, entityId: ID, extraProperties?: Props);

Parameters

Parameter Type Description
entityOrName typeof Entity | string  
entityId ID  
extraProperties Props