handleError

Handles errors that occur during FIDO2 operations.

This method converts various types of credential exceptions into appropriate error messages that the Journey server can understand and process.

Parameters

error

The throwable error to handle and convert