Type alias ExceptionFilter

ExceptionFilter: ExceptionFilterFunction | ExceptionPattern[] | {
    filter?: ExceptionFilterFunction;
    patterns?: ExceptionPattern[];
}

Configuration for ignoring exceptions. Can be:

  • A function that receives exception info and returns boolean
  • An array of patterns (strings or RegExp) to match against the error message
  • A combination of both (function and patterns)

Type declaration