PasskeyErrorCategory

The kind of a PasskeyError, from PasskeyError.category.

Closed: there are exactly these six categories, in every release; a when over it needs no else branch.

Entries

Link copied to clipboard

The user closed the sheet or the request was interrupted (PasskeyError.Cancelled, PasskeyError.Interrupted).

Link copied to clipboard

No passkey for this account on this device (PasskeyError.NoCredentials): offer another sign-in method.

Link copied to clipboard

The device already has a passkey for this account (PasskeyError.AlreadyRegistered).

Link copied to clipboard

The device, OS or credential provider can't do this (PasskeyError.NotSupported).

Link copied to clipboard

A developer must fix the app, its server or its options (PasskeyError.Misconfigured, PasskeyError.InvalidOptions).

Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.