mise API - v0.0.0
    Preparing search index...

    Function loginFailure_diagnose

    • Classifies a login error, asking the network once when the error itself carries neither CUBE's answer nor a code (chrisapi's "No server response!").

      Parameters

      • error: unknown

        What the login threw.

      • url: string

        The URL the login went to.

      • probe: (url: string) => Promise<string | null> = url_probe

        How the network is asked; url_probe by default.

      Returns Promise<LoginFailure>

      The failure.