API Reference
Rockets Core API
nestjs-exception
classes
ExceptionsFilter

Class: ExceptionsFilter

Implements

Constructors

new ExceptionsFilter()

new ExceptionsFilter(httpAdapterHost): ExceptionsFilter

Parameters

ParameterType
httpAdapterHostHttpAdapterHost<AbstractHttpAdapter<any, any, any>>

Returns

ExceptionsFilter

Defined in

.tmp/repos/rockets/packages/nestjs-exception/src/filters/exceptions.filter.ts:14 (opens in a new tab)

Methods

catch()

catch(exception, host): void

Parameters

ParameterType
exceptionExceptionInterface
hostArgumentsHost

Returns

void

Implementation of

ExceptionsFilter.catch

Defined in

.tmp/repos/rockets/packages/nestjs-exception/src/filters/exceptions.filter.ts:16 (opens in a new tab)