AmbiguousError:
    | SimplifiedError
    | string
    | {
        error?: AmbiguousError;
        message?: string;
        name?: string;
        response?: { error?: string };
        stack?: string;
    }
    | Error

Represents an error when we don't really know how it is structured.

Use extractError to turn this into a SimplifiedError representation.