credo-ts
credo-ts copied to clipboard
Look how to emit with an error class so we don't have two identical messages for log and error
Could we not make the error class also emit a log message? I have seem this log and afterwards a couple of times and adding it to the error class would make it more consistent, if that is what we want.
If agreed, seperate PR would be fine.
Originally posted by @blu3beri in https://github.com/hyperledger/aries-framework-javascript/pull/782#discussion_r879145263