UNPKG

@tsed/common

Version:
8 lines (7 loc) 226 B
import { Type } from "@tsed/core"; /** * Register a new class to handle an specific exception. * @decorator * @param types */ export declare function Catch(...types: (Type<Error | any> | string)[]): (target: any) => void;