Skip to content
This repository was archived by the owner on Jul 9, 2026. It is now read-only.

Latest commit

 

History

History
87 lines (47 loc) · 1.61 KB

File metadata and controls

87 lines (47 loc) · 1.61 KB

@panenco/papi / Exports / NotFound

Class: NotFound

Http error with status code 404

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new NotFound(reason, message, payload?)

Parameters

Name Type
reason string
message string
payload? object

Overrides

ErrorBase.constructor

Defined in

contracts/errors/notFound.error.ts:9

Properties

code

code: number

Inherited from

ErrorBase.code

Defined in

contracts/errors/errorBase.error.ts:9


reason

reason: string

Inherited from

ErrorBase.reason

Defined in

contracts/errors/errorBase.error.ts:10


payload

Optional payload: object

Inherited from

ErrorBase.payload

Defined in

contracts/errors/errorBase.error.ts:11