WebAuthnError
public enum WebAuthnError : Error
extension WebAuthnError: CustomNSError
WebAuthnError represents an error captured by FRAuth SDK for WebAuthn related operation
-
Declaration
Swift
case badData(platformError: Error?, message: String?)
-
Declaration
Swift
case badOperation(platformError: Error?, message: String?)
-
Declaration
Swift
case invalidState(platformError: Error?, message: String?)
-
Declaration
Swift
case constraint(platformError: Error?, message: String?)
-
Declaration
Swift
case cancelled(platformError: Error?, message: String?)
-
Declaration
Swift
case timeout(platformError: Error?, message: String?)
-
Declaration
Swift
case notAllowed(platformError: Error?, message: String?)
-
Declaration
Swift
case unsupported(platformError: Error?, message: String?)
-
Declaration
Swift
case unknown(platformError: Error?, message: String?)
-
Declaration
Swift
public func platformError() -> Error?
-
Declaration
Swift
public func message() -> String?
-
Unique error code for given error
Declaration
Swift
var code: Int { get }
-
Parses WebAuthnError value into integer error code
Declaration
Swift
func parseErrorCode() -> Int
Return Value
Int value of unique error code
-
Converts WebAuthnError into String representation of error that can be used as WebAuthn outcome in WebAuthn HiddenValueCallback
Declaration
Swift
func convertToWebAuthnOutcome() -> String
Return Value
String value of WebAuthn error outcome
-
An error domain for WebAuthnError
Declaration
Swift
public static var errorDomain: String { get }
-
Error codes for each error enum
Declaration
Swift
public var errorCode: Int { get }
-
Error UserInfo
Declaration
Swift
public var errorUserInfo: [String : Any] { get }