Auth0Error

public protocol Auth0Error : LocalizedError, CustomDebugStringConvertible

Generic representation of Auth0 errors. AuthenticationError, ManagementError, WebAuthError, and CredentialsManagerError conform to this protocol.

  • cause Default implementation

    The underlying Error value, if any.

    Default Implementation

    Defaults to nil.

    Declaration

    Swift

    var cause: Error? { get }
  • localizedDescription Extension method

    Description of the error.

    Important

    You should avoid displaying the error description to the user, it’s meant for debugging only.

    Declaration

    Swift

    var localizedDescription: String { get }
  • errorDescription Extension method

    Description of the error.

    Important

    You should avoid displaying the error description to the user, it’s meant for debugging only.

    Declaration

    Swift

    var errorDescription: String? { get }