pub enum ClaimLedgerError {
ClaimNotFound(String),
SupportJudgmentNotFound(String),
EvidenceBundleNotFound(String),
ContradictionNotFound(String),
InvalidSupportTransition(String),
MissingProofPayload,
LedgerCorrupt(String),
SerializationError(String),
MissingInputRef(String),
}Expand description
Errors returned by claim-ledger operations.
Variants§
ClaimNotFound(String)
No matching claim found in the bundle.
SupportJudgmentNotFound(String)
No matching support judgment found.
EvidenceBundleNotFound(String)
No matching evidence bundle found.
ContradictionNotFound(String)
No matching contradiction record found.
InvalidSupportTransition(String)
Unsupported or invalid support admission state transition.
MissingProofPayload
Supported admissions require proof payload or explicit proof-debt waiver.
LedgerCorrupt(String)
The ledger is corrupt or verification failed.
SerializationError(String)
Serialization or deserialization failure.
MissingInputRef(String)
A required input reference was not provided.
Implementations§
Trait Implementations§
Source§impl Debug for ClaimLedgerError
impl Debug for ClaimLedgerError
Source§impl Display for ClaimLedgerError
impl Display for ClaimLedgerError
Source§impl Error for ClaimLedgerError
impl Error for ClaimLedgerError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ClaimLedgerError
impl RefUnwindSafe for ClaimLedgerError
impl Send for ClaimLedgerError
impl Sync for ClaimLedgerError
impl Unpin for ClaimLedgerError
impl UnsafeUnpin for ClaimLedgerError
impl UnwindSafe for ClaimLedgerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more