UNPKG

@dooboostore/simple-boot-http-server

Version:

back end http server frameworks

8 lines 303 B
import { HttpError } from './HttpError'; import { HttpStatus } from '../codes/HttpStatus'; export class NotFoundError extends HttpError { constructor({ status = HttpStatus.NotFound, message = 'Not Found' } = {}) { super({ status, message }); } } //# sourceMappingURL=NotFoundError.js.map