FIDOError
public struct FIDOError : LocalizedError
extension FIDOError: Equatable
A type that represents an error that can be thrown by the FIDO Client.
See also
Error interface in FIDO UAF Application API and Transport Binding Specification-
The error code.
Declaration
Swift
public let code: Code
-
An optional underlying error that lead to the FIDO error.
Declaration
Swift
public let underlying: Error?
-
An optional authenticator attestation ID which was used for the FIDO operation when the error occurred.
Declaration
Swift
public let aaid: AuthenticatorAttestationID?
-
An optional operation which was initiated the error occurred in.
Declaration
Swift
public let operation: Operation?
-
The list of FIDO error codes.
See moreDeclaration
Swift
public enum Code : Int
-
A localized message describing what error occurred.
Declaration
Swift
var errorDescription: String? { get }
-
Returns a Boolean value indicating whether two errors are equal.
Declaration
Swift
public static func == (lhs: FIDOError, rhs: FIDOError) -> Bool
-
Returns a Boolean value indicating whether a
FIDOError
and any other error are equal.Declaration
Swift
public static func == (lhs: FIDOError, rhs: Error) -> Bool
-
Returns a Boolean value indicating whether a FIDO error corresponds to a given code.
Declaration
Swift
public static func == (lhs: FIDOError, rhs: FIDOError.Code) -> Bool
-
Returns a Boolean value indicating whether a FIDO error does not correspond to a given code.
Declaration
Swift
public static func != (lhs: FIDOError, rhs: FIDOError.Code) -> Bool