pub enum ProofError {
InvalidContract(String),
DuplicateCriterion(String),
UnknownCriterion(String),
UnknownEvidence(Uuid),
ContractMismatch,
EmptyWaiverReason,
}Expand description
Proof and contract validation errors.
Variants§
InvalidContract(String)
Contract content is structurally invalid.
DuplicateCriterion(String)
Two criteria share an identifier.
UnknownCriterion(String)
A requested criterion does not exist.
UnknownEvidence(Uuid)
A requested evidence node does not exist.
ContractMismatch
Graph and contract identifiers differ.
EmptyWaiverReason
Waivers require a reviewable explanation.
Trait Implementations§
Source§impl Debug for ProofError
impl Debug for ProofError
Source§impl Display for ProofError
impl Display for ProofError
Source§impl Error for ProofError
impl Error for ProofError
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 ProofError
impl RefUnwindSafe for ProofError
impl Send for ProofError
impl Sync for ProofError
impl Unpin for ProofError
impl UnsafeUnpin for ProofError
impl UnwindSafe for ProofError
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