webcrypto-local
webcrypto-local copied to clipboard
User interface needs to handle errors from the server
There will be cases where the server fails for unexpected reasons, right now we have such a case because a smart card is not supported, for example:

In this case, the UI made a call and the server complained:

The UI should catch such cases and display a generic error, something like:
An error occurred trying to access the remote cryptographic implementation.
Please try again.
We could maybe include the stack in a text box so people could copy it and paste it into a support forum.