UNPKG

@dooboostore/simple-boot-http-server

Version:

back end http server frameworks

8 lines 318 B
import { HttpError } from './HttpError'; import { HttpStatus } from '../codes/HttpStatus'; export class UnauthorizedError extends HttpError { constructor({ status = HttpStatus.Unauthorized, message = 'Unauthorized' } = {}) { super({ status, message }); } } //# sourceMappingURL=UnauthorizedError.js.map