Page Contents

Home > @loopback/repository > EntityNotFoundError

EntityNotFoundError class

Signature:

export declare class EntityNotFoundError<ID, Props extends object = {}> extends Error 

Constructors

Constructor Modifiers Description
(constructor)(entityOrName, entityId, extraProperties)   Constructs a new instance of the EntityNotFoundError class

Properties

Property Modifiers Type Description
code   string  
entityId   ID  
entityName   string