ErrorNameMatch: {
    name:
        | string
        | RegExp
        | null
        | undefined;
    [k: string]: any;
}