Skip to main content
Version: 4.2

PasskeyException

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

The exception that faults the task returned by RegisterAsync, either AuthenticateAsync overload and the management methods when a ceremony or store call fails for any reason other than cancellation or timeout.

4.2.0+
public class PasskeyException : Exception

Message is built from Operation and Reason only — "Passkey registration failed: CredentialExists." — and never folds in Detail. It never contains a challenge, a credential id, a user handle, a key or a user id. The inner exception, when there is one, has been rebuilt by PasskeyRedaction.Safe with its message scrubbed and its stack trace dropped.

Properties​

Instance member Detail​

String: Returns the component's developer detail, or null — the same text as Detail. Exposed as a property and never folded into Message.

Instance member Operation​

PasskeyOperation: Returns which ceremony failed.

Instance member Reason​

PasskeyError: Returns the typed failure reason.