Type Alias ErrorMatchOptions

ErrorMatchOptions: PartialAndNullable<{
    matchConstructor: ErrorConstructor | typeof Error | (new (...args: any[]) => Error);
    matchMessage: string | RegExp;
}>

Matching options for a thrown error constructor or message string.