UNPKG

@mark01/express-utils

Version:

npm package that contains utilities for express.js

11 lines (10 loc) 280 B
export declare class AppError extends Error { id: string; title: string; status: 'fail' | 'error'; statusCode: number; isOperational: boolean; type: string; error: Error; constructor(message: string, statusCode: number, error?: Error | unknown); }