Auth0Error
public protocol Auth0Error : LocalizedError, CustomDebugStringConvertible
Generic representation of Auth0 errors. AuthenticationError
, ManagementError
, WebAuthError
, and
CredentialsManagerError
conform to this protocol.
-
cause
Default implementationThe underlying
Error
value, if any.Default Implementation
Defaults to
nil
.Declaration
Swift
var cause: Error? { get }
-
localizedDescription
Extension methodDescription 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 methodDescription 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 }