UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

33 lines (22 loc) 1.07 kB
--- lang: en title: 'API docs: repository.entitynotfounderror._constructor_' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/repository permalink: /doc/en/lb4/apidocs.repository.entitynotfounderror._constructor_.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [EntityNotFoundError](./repository.entitynotfounderror.md) &gt; [(constructor)](./repository.entitynotfounderror._constructor_.md) ## EntityNotFoundError.(constructor) Constructs a new instance of the `EntityNotFoundError` class <b>Signature:</b> ```typescript constructor(entityOrName: typeof Entity | string, entityId: ID, extraProperties?: Props); ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | entityOrName | typeof [Entity](./repository.entity.md) \| string | | | entityId | ID | | | extraProperties | Props | |