We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, errors are given "types" by setting their name with a string identifier, which is not centrally controlled and makes checking its specific type unwieldy. Possibly a good source of inspiration could be how errors are defined in ledgerjs library recently refactored by Ppershing: https://github.com/vacuumlabs/ledgerjs-cardano-shelley/blob/develop/src/errors/deviceStatusError.ts
https://docs.google.com/document/d/1w0nLLw1OuC9LpZLQ_p58W1dkdJglfbyH5GjGL_cuKMU/edit
TODO:
setError
captureBySentry
getErrorMessage
The text was updated successfully, but these errors were encountered:
PeterBenc
No branches or pull requests
Currently, errors are given "types" by setting their name with a string identifier, which is not centrally controlled and makes checking its specific type unwieldy. Possibly a good source of inspiration could be how errors are defined in ledgerjs library recently refactored by Ppershing: https://github.com/vacuumlabs/ledgerjs-cardano-shelley/blob/develop/src/errors/deviceStatusError.ts
https://docs.google.com/document/d/1w0nLLw1OuC9LpZLQ_p58W1dkdJglfbyH5GjGL_cuKMU/edit
TODO:
setError
,captureBySentry
getErrorMessage
interface so it receives custom error classesThe text was updated successfully, but these errors were encountered: