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.
- C#
- VB.NET
public class PasskeyException : Exception
Public Class PasskeyException
Inherits 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
Detail
String: Returns the component's developer detail, or null — the same text as Detail. Exposed as a property and never folded into Message.
Operation
PasskeyOperation: Returns which ceremony failed.
Reason
PasskeyError: Returns the typed failure reason.