Methodconstructor({
status = 400,
message,
name = 'BadRequestError',
type = 'bad_request',
errors = [],
}
errors/BadRequestError.js:4
Methodconstructor({
status = 500,
name = 'InternalError',
message,
type = 'internal',
errors = [],
})
errors/InternalError.js:4
Methodconstructor({
status = 401,
name = 'UnauthorizedError',
message,
type = 'unauthorized',
errors = [],
errors/UnauthorizedError.js:4
Methodconstructor({
status = 404,
name = 'NotFoundError',
message,
type = 'not_found',
errors = [],
})
errors/NotFoundError.js:4