Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Throw an instance of Error instead of Object #30

Closed
jakubkoci opened this issue Dec 11, 2020 · 1 comment
Closed

Throw an instance of Error instead of Object #30

jakubkoci opened this issue Dec 11, 2020 · 1 comment

Comments

@jakubkoci
Copy link
Contributor

jakubkoci commented Dec 11, 2020

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)"

@jakubkoci
Copy link
Contributor Author

I'm closing the issue in favor of hyperledger-indy/indy-sdk-react-native#6. This repository is being archived.

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

No branches or pull requests

1 participant