UNPKG

sipp

Version:

An Opinionated, High-Productivity MVC Web Framework in TypeScript

10 lines (9 loc) 426 B
import { BaseException } from '../../exceptions'; import { ResponseBody } from '..'; import { HTTPResponder } from '../response/Responder'; import { Request, Response } from 'express'; export declare class Controller extends HTTPResponder { readonly basePath: string | null; getBasePath(): string; onException(e: BaseException, req: Request, res: Response): false | ResponseBody | Promise<false | ResponseBody>; }