Skip to content

selectExceptionFilterMetadata

reference
1 min readUpdated

Kind: Function

Source: packages/common/utils/select-exception-filter-metadata.util.ts

Part of: Common

Signature

ts
function selectExceptionFilterMetadata(filters: ExceptionFilterMetadata[], exception: T): ExceptionFilterMetadata | undefined

Parameters

NameType
filtersExceptionFilterMetadata[]
exceptionT

Returns: ExceptionFilterMetadata | undefined

Used by

4 references from 4 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (4)

  • ExceptionsHandlerpackages/core/exceptions/exceptions-handler.ts:9
  • ExternalExceptionsHandlerpackages/core/exceptions/external-exceptions-handler.ts:8
  • RpcExceptionsHandlerpackages/microservices/exceptions/rpc-exceptions-handler.ts:13
  • WsExceptionsHandlerpackages/websockets/exceptions/ws-exceptions-handler.ts:12

Was this page helpful?

Download as PDF
selectExceptionFilterMetadata — NestJS head-to-head