MCPcopy
hub / github.com/nestjs/nest / next

Method next

packages/core/exceptions/exceptions-handler.ts:12–17  ·  view source on GitHub ↗
(exception: Error | HttpException, ctx: ArgumentsHost)

Source from the content-addressed store, hash-verified

10 private filters: ExceptionFilterMetadata[] = [];
11
12 public next(exception: Error | HttpException, ctx: ArgumentsHost) {
13 if (this.invokeCustomFilters(exception, ctx)) {
14 return;
15 }
16 super.catch(exception, ctx);
17 }
18
19 public setCustomFilters(filters: ExceptionFilterMetadata[]) {
20 if (!Array.isArray(filters)) {

Callers 14

selectContextModuleMethod · 0.45
bindHandlerMethod · 0.45
addRpcTargetMethod · 0.45
createProxyMethod · 0.45
httpAdapterMethod · 0.45
listeningMethod · 0.45

Calls 2

invokeCustomFiltersMethod · 0.95
catchMethod · 0.65

Tested by

no test coverage detected