AbsaOSS / rn-indy-sdk

This code was starting point of https://github.com/hyperledger/indy-sdk-react-native where the work continues.
Apache License 2.0
11 stars 6 forks source link

Throw an instance of Error instead of Object #30

Closed jakubkoci closed 3 years ago

jakubkoci commented 3 years ago

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 commented 3 years ago

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