You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @Mykhailo-Sichkaruk, thanks for the suggestion! This is a great idea, I see how it'd be nice to bring some order to the many more errors that @simplewebauthn/server might raise. I'll begin thinking about this and try to implement a custom error like @simplewebauthn/browser's WebAuthnError from #367 like you called out... 🤔
This can help not only in handling errors, but also in understanding for users of the lib how errors relate to each other and how they should be handled.
Proposal
It would be great if server lib had codes for errors.
There are such error codes for frontend - #367 .
Consider example -
I want to it to look like this in my code:
Just say what do you think about it generally and we can start discussing implementation details.
I want to contribute.
P.S.: thank you for such great library
The text was updated successfully, but these errors were encountered: