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
It would be nice to have custom error types in certain places to improve the error messages we provide to the user - instructing the user to access non standard properties to get the full error message seems painful, IMO errors should be obvious and in the users face.
The text was updated successfully, but these errors were encountered:
That's a wrapped error. We don't know what the underlying error is, so instead of giving them something potentially cryptic, we wrap it to at least let the user know what failed. How could a custom error type solve that?
I think if the error name was descriptive enough then the user should be able to deduce what happened without having to access additional properties for more info.
e.g.
SigningError: Cryptic error message
vs.
Error: Signing failed, see error property for more info
err.error // => Cryptic error message
Related to #857 (comment)
It would be nice to have custom error types in certain places to improve the error messages we provide to the user - instructing the user to access non standard properties to get the full error message seems painful, IMO errors should be obvious and in the users face.
The text was updated successfully, but these errors were encountered: