UNPKG

inceptum

Version:

hipages take on the foundational library for enterprise-grade apps written in NodeJS

8 lines (7 loc) 276 B
import { ExtendedError } from '../util/ErrorUtil'; export default class HttpError extends ExtendedError { statusCode: number; constructor(statusCode: number, message: string, cause?: Error); getStatusCode(): number; static notFound(message: any): HttpError; }