WebAuthnException
public class WebAuthnException : SmartAccountException, @unchecked Sendable
WebAuthn-related errors (4xxx range).
-
Indicates that WebAuthn registration failed before a credential was created.
See moreDeclaration
Swift
public final class RegistrationFailed : WebAuthnException, @unchecked Sendable -
Indicates that WebAuthn authentication failed.
See moreDeclaration
Swift
public final class AuthenticationFailed : WebAuthnException, @unchecked Sendable -
Indicates that the platform does not support WebAuthn for this operation.
See moreDeclaration
Swift
public final class NotSupported : WebAuthnException, @unchecked Sendable -
Indicates that the user cancelled the WebAuthn operation.
See moreDeclaration
Swift
public final class Cancelled : WebAuthnException, @unchecked Sendable -
Undocumented
Declaration
Swift
public static func registrationFailed(reason: String, cause: Error? = nil) -> RegistrationFailed -
Undocumented
Declaration
Swift
public static func authenticationFailed(reason: String, cause: Error? = nil) -> AuthenticationFailed -
Undocumented
Declaration
Swift
public static func notSupported(details: String? = nil, cause: Error? = nil) -> NotSupported -
Undocumented
Declaration
Swift
public static func cancelled(cause: Error? = nil) -> Cancelled
View on GitHub
Install in Dash