MCPcopy Create free account
hub / github.com/BrasilAPI/BrasilAPI /

Class

errors/UnauthorizedError.js:3–3  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import BaseError from './BaseError';
2
3export default class UnauthorizedError extends BaseError {
4 constructor({
5 status = 401,
6 name = 'UnauthorizedError',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected