PasskeyClientError

sealed interface PasskeyClientError

Error surface returned by passkey operations.

Inheritors

Types

Link copied to clipboard
data class Codec(val message: String) : PasskeyClientError

The configured integration codec could not encode or decode a ceremony value.

Link copied to clipboard
data class InvalidOptions(val message: String) : PasskeyClientError

The caller supplied invalid inputs, or the platform rejected options before prompting.

Link copied to clipboard
data class NoCredential(val message: String = "No passkey credential was available") : PasskeyClientError

The selected provider had no credential available for the requested assertion.

Link copied to clipboard
data class Platform(val message: String) : PasskeyClientError

The platform passkey provider failed for a non-transport reason.

Link copied to clipboard
data class UserCancelled(val message: String = "The user cancelled the passkey prompt") : PasskeyClientError

The ceremony was aborted because the user dismissed or cancelled the platform prompt.

Properties

Link copied to clipboard
abstract val message: String