BiometricAuthenticationException
actual class BiometricAuthenticationException(message: String, val biometricExceptionDetails: BiometricExceptionDetails) : GeneralSecurityException
expect class BiometricAuthenticationException(message: String, biometricExceptionDetails: BiometricExceptionDetails) : Exception
Represents a failed, errored, or cancelled biometric authentication challenge.
This type is safe to catch, construct, and inspect from shared (commonMain) code. When surfaced from com.okta.authfoundation.credential.BiometricAuthenticator, it is always delivered as the failure of a Result — that interface never throws this (or any other) exception for expected failure/error/cancellation outcomes.
On JVM and Android targets this class extends java.security.GeneralSecurityException so it is compatible with existing catch-clauses that catch GeneralSecurityException.
actual class BiometricAuthenticationException(message: String, val biometricExceptionDetails: BiometricExceptionDetails) : GeneralSecurityException