UNPKG

@nestjs/common

Version:

Nest - modern, fast, powerful node.js web framework (@common)

7 lines (6 loc) 301 B
import { Type } from '../../interfaces'; /** * Defines an exception filter. Takes set of exception types as arguments which have to be caught by this filter. * The class should implement the `ExceptionFilter` interface. */ export declare function Catch(...exceptions: Type<any>[]): ClassDecorator;