How to use the @nestjs/core/errors/exceptions/invalid-exception-filter.exception.InvalidExceptionFilterException function in @nestjs/core

To help you get started, we’ve selected a few @nestjs/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nestjs / nest / bundle / websockets / exceptions / ws-exceptions-handler.js View on Github external
setCustomFilters(filters) {
        if (!Array.isArray(filters)) {
            throw new invalid_exception_filter_exception_1.InvalidExceptionFilterException();
        }
        this.filters = filters;
    }
    invokeCustomFilters(exception, args) {
github nestjs / nest / bundle / microservices / exceptions / rpc-exceptions-handler.js View on Github external
setCustomFilters(filters) {
        if (!Array.isArray(filters)) {
            throw new invalid_exception_filter_exception_1.InvalidExceptionFilterException();
        }
        this.filters = filters;
    }
    invokeCustomFilters(exception, host) {
github nestjs / nest / packages / microservices / exceptions / rpc-exceptions-handler.ts View on Github external
public setCustomFilters(filters: RpcExceptionFilterMetadata[]) {
    if (!Array.isArray(filters)) {
      throw new InvalidExceptionFilterException();
    }
    this.filters = filters;
  }
github nestjs / nest / lib / websockets / exceptions / ws-exceptions-handler.js View on Github external
setCustomFilters(filters) {
        if (!Array.isArray(filters)) {
            throw new invalid_exception_filter_exception_1.InvalidExceptionFilterException();
        }
        this.filters = filters;
    }
    invokeCustomFilters(exception, client) {
github nestjs / nest / src / microservices / exceptions / rpc-exceptions-handler.ts View on Github external
public setCustomFilters(filters: RpcExceptionFilterMetadata[]) {
    if (!Array.isArray(filters)) {
      throw new InvalidExceptionFilterException();
    }
    this.filters = filters;
  }
github nestjs / nest / lib / microservices / exceptions / rpc-exceptions-handler.js View on Github external
setCustomFilters(filters) {
        if (!Array.isArray(filters)) {
            throw new invalid_exception_filter_exception_1.InvalidExceptionFilterException();
        }
        this.filters = filters;
    }
    invokeCustomFilters(exception, host) {
github nestjs / nest / packages / websockets / exceptions / ws-exceptions-handler.ts View on Github external
public setCustomFilters(filters: ExceptionFilterMetadata[]) {
    if (!Array.isArray(filters)) {
      throw new InvalidExceptionFilterException();
    }
    this.filters = filters;
  }
github nestjs / nest / src / websockets / exceptions / ws-exceptions-handler.ts View on Github external
public setCustomFilters(filters: ExceptionFilterMetadata[]) {
        if (!Array.isArray(filters)) {
            throw new InvalidExceptionFilterException();
        }
        this.filters = filters;
    }