-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unify Error Handling #64
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Editorial, punctuation and phrasing, for consistency and clarity
index.html
Outdated
</li> | ||
<li> | ||
If |proofConfig|.|created| is set and if the value is not a | ||
valid [[XMLSCHEMA11-2]] datetime, an `INVALID_PROOF_DATETIME` error MUST be | ||
raised. | ||
valid [[XMLSCHEMA11-2]] datetime, an an error MUST be raised and SHOULD convey |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
valid [[XMLSCHEMA11-2]] datetime, an an error MUST be raised and SHOULD convey | |
valid [[XMLSCHEMA11-2]] datetime, an error MUST be raised and SHOULD convey |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got some weird GitHub errors when trying to batch in all the changes. So had to do it in two batches.
…r consistency and clarity. Co-authored-by: Ted Thibodeau Jr <[email protected]> Co-authored-by: Dave Longley <[email protected]>
…r consistency and clarity. Co-authored-by: Ted Thibodeau Jr <[email protected]>
Normative, multiple reviews, changes requested and made, no objections, merging. |
- delete now-errant line - fix "ensure" phrasing — note: this sentence may need further work, as it's not clear whether confirming `an array of five elements` is sufficient to populate `the five elements` -- ``` Initialize |components| to an array that is the result of CBOR-decoding the bytes that follow the three-byte ECDSA-SD base proof header. Ensure the result is an array of five elements. </li> <li> Return an object with properties set to the five elements, using the names `baseSignature`, `publicKey`, `hmacKey`, `signatures`, and `mandatoryPointers`, respectively. ```
This PR addresses issue #63. It unifies error codes, error handling language, and adds error codes where needed.
Preview | Diff