Errors
The algorithms described in this specification can raise the specific errors listed below. Additional error types defined in the Errors section of DID Resolution v1 DID-RESOLUTION may also be raised.
These errors are assumed to be fatal and all did:btcr2 operations must abort when one of these errors are raised.
INVALID_DID_UPDATE
An error was found when creating or applying a BTCR2 Update.
INVALID_SIGNAL_DATA
The data for a Beacon Signal does not agree with its Signal Bytes. Example: an SMT Proof that does not verify against the SMT root in the Beacon Signal.
LATE_PUBLISHING
An error was found when processing the full history of BTCR2 Updates announced by all relevant Beacon Signals. See Late Publishing.
MISSING_UPDATE_DATA
Data that is necessary to find what a Beacon Signal announces for the DID is not in the Sidecar Data and not in CAS. This data includes BTCR2 Updates, CAS Announcements, and SMT Proofs.