UNPKG

dinoloop-es8

Version:

A lightweight REST API Library for building scalable Node.js server-side applications powered by Typescript

24 lines (23 loc) 500 B
import { Request, Response, NextFunction } from '../types'; /** * ApplicationError controller must extend this class */ export declare abstract class ErrorController { /** * Express.Request */ request: Request; /** * Express.Response */ response: Response; /** * Express.NextFunction */ next: NextFunction; error: Error; /** * Invoked on application error */ abstract internalServerError(): void; }