@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
38 lines (26 loc) • 1.31 kB
Markdown
lang: en
title: 'API docs: repository.entitynotfounderror'
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.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/repository](./repository.md) > [EntityNotFoundError](./repository.entitynotfounderror.md)
## EntityNotFoundError class
<b>Signature:</b>
```typescript
export declare class EntityNotFoundError<ID, Props extends object = {}> extends Error
```
<b>Extends:</b> Error
## Constructors
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(entityOrName, entityId, extraProperties)](./repository.entitynotfounderror._constructor_.md) | | Constructs a new instance of the <code>EntityNotFoundError</code> class |
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [code](./repository.entitynotfounderror.code.md) | | string | |
| [entityId](./repository.entitynotfounderror.entityid.md) | | ID | |
| [entityName](./repository.entitynotfounderror.entityname.md) | | string | |