Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Throw an instance of Error instead of Object #6

Open
jakubkoci opened this issue Jul 19, 2021 · 0 comments
Open

Throw an instance of Error instead of Object #6

jakubkoci opened this issue Jul 19, 2021 · 0 comments

Comments

@jakubkoci
Copy link
Contributor

This has been copied from AbsaOSS/rn-indy-sdk#30

@jakubkoci wrote:
As @TimoGlastra suggested in #29:

"Indy for node throws an IndyError error class instance. I think we could just copy the IndyError from indy-sdk (https://github.com/hyperledger/indy-sdk/blob/master/wrappers/nodejs/src/IndyError.js) and maybe update it a bit to use the normal class syntax (semantically the same: https://github.com/hyperledger/indy-sdk/blob/791b12162607b5ee2e7a87648c5ba486b8fbfdd1/wrappers/nodejs/src/IndyError.js)"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant