API 参考 / @142vip/nest / GlobalFilter
定义于: filters/global.filter.ts:13
ExceptionFilter
Error
HttpException
unknown
new GlobalFilter(): GlobalFilter
GlobalFilter
protected readonly logger: Logger
protected
readonly
Logger
定义于: filters/global.filter.ts:14
catch(e, host): Promise<void>
e
host
Promise
void
定义于: filters/global.filter.ts:16
Method to implement a custom exception filter.
ArgumentsHost
used to access an array of arguments for the in-flight request
Promise<void>
ExceptionFilter.catch
There was an error while loading. Please reload this page.