While using the library there are certain cases where it can be useful to know what issue has caused an error to be thrown. For example in the verify method it can be useful to know if the verification has failed because of invalid signature or maybe missing proof parameter.
Depending on error message is not reliable, especially when some of the error messages are dynamic with parameters inside the message.
While using the library there are certain cases where it can be useful to know what issue has caused an error to be thrown. For example in the
verifymethod it can be useful to know if the verification has failed because of invalid signature or maybe missing proof parameter.Depending on error message is not reliable, especially when some of the error messages are dynamic with parameters inside the message.