createAuthnErrorResponse
suspend fun createAuthnErrorResponse(error: Throwable, state: AuthorizationResponsePreparationState): KmmResult<AuthenticationResponseResult>(source)
Creates an error response for the error, which can be sent to the verifier / relying party.