OidcError
public enum OidcError : LocalizedError, Sendable
                Enum for OIDC errors.
- 
                  
                  
An error that occurs during the authorization process.
Declaration
Swift
case authorizeError(cause: Error? = nil, message: String? = nil)Parameters
causeThe underlying error that caused the issue (optional).
messageA descriptive message about the error (optional).
 - 
                  
                  
An error that occurs during network communication.
Declaration
Swift
case networkError(cause: Error? = nil, message: String? = nil)Parameters
causeThe underlying error that caused the issue (optional).
messageA descriptive message about the error (optional).
 - 
                  
                  
An error returned from the API.
Declaration
Swift
case apiError(code: Int, message: String)Parameters
codeThe HTTP status code of the error.
messageA descriptive message about the error.
 - 
                  
                  
An unknown or unspecified error.
Declaration
Swift
case unknown(cause: Error? = nil, message: String? = nil)Parameters
causeThe underlying error that caused the issue (optional).
messageA descriptive message about the error (optional).
 - 
                  
                  
Provides a human-readable description of the error.
Declaration
Swift
public var errorMessage: String { get }Return Value
A
Stringrepresenting the error message. 
            View on GitHub