@loopback/docs
Version:
Documentation for LoopBack 4
36 lines (24 loc) • 1.21 kB
Markdown
lang: en
title: 'API docs: repository.entitynotfounderror'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
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
```
## 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) | | <code>string</code> | |
| [entityId](./repository.entitynotfounderror.entityid.md) | | <code>ID</code> | |
| [entityName](./repository.entitynotfounderror.entityname.md) | | <code>string</code> | |