Closed msporny closed 1 year ago
All of the current algorithms presume that errors can be surfaced and use "MUST" language related to error codes. For example:
https://www.w3.org/TR/2023/WD-vc-data-integrity-20230805/#add-proof https://www.w3.org/TR/2023/WD-vc-data-integrity-20230805/#verify-proof
Some libraries are not capable of exposing detailed errors and/or codes. The algorithms should be reworked such that throwing an error is required (MUST), but the conveyance of the error code/message is done on a best effort basis (SHOULD).
PR #158 has been raised to address this issue. This issue will be closed once that PR is merged.
PR #158 has been merged, closing.
All of the current algorithms presume that errors can be surfaced and use "MUST" language related to error codes. For example:
https://www.w3.org/TR/2023/WD-vc-data-integrity-20230805/#add-proof https://www.w3.org/TR/2023/WD-vc-data-integrity-20230805/#verify-proof
Some libraries are not capable of exposing detailed errors and/or codes. The algorithms should be reworked such that throwing an error is required (MUST), but the conveyance of the error code/message is done on a best effort basis (SHOULD).