Documentation / @zerotal/core / index / NotFoundError
Class: NotFoundError
Defined in: errors/HttpError.ts:42
404 Not Found — no resource matches the request.
Extends
Constructors
Constructor
new NotFoundError(
message?):NotFoundError
Defined in: errors/HttpError.ts:43
Parameters
message?
string = "Not Found"
Returns
NotFoundError
Overrides
Properties
headers?
optionalheaders?:Record<string,string>
Defined in: errors/HttpError.ts:15
Inherited from
code
readonlycode:string
Defined in: errors/ZerotalError.ts:18
Inherited from
status
readonlystatus:number=500
Defined in: errors/ZerotalError.ts:19
Inherited from
context?
readonlyoptionalcontext?:Record<string,unknown>
Defined in: errors/ZerotalError.ts:20