Wraps an underlying ledger read failure in OcpContractError with classification, structured context, and a typed diagnostics attachment.
OcpContractError
classification
context
diagnostics
Wraps an underlying ledger read failure in
OcpContractErrorwithclassification, structuredcontext, and a typeddiagnosticsattachment.