Type alias GetStatusCodeFromError

GetStatusCodeFromError: ((error) => number)

Type declaration

    • (error): number
    • Returns a status code from an error object.

      Parameters

      • error: any

        The error object.

      Returns number

      The status code.

Generated using TypeDoc