UNPKG

nralcm

Version:

This is a framework based on NodeJs to manage rest api request lifecycle

14 lines (13 loc) 434 B
import { IExceptionHandler } from "./IExceptionHandler"; import { HttpContext } from ".."; /** * Default ExceptionHandler to handle all expceptions in rest api */ export declare class ExceptionHandler implements IExceptionHandler { /** * Method for handle exception * @param context HttpContext Object * @param exception Exception Object */ handleException(context: HttpContext, exception: any): void; }