Enum snarkvm_algorithms::errors::SNARKError
source · pub enum SNARKError {
AnyhowError(Error),
ConstraintFieldError(ConstraintFieldError),
Crate(&'static str, String),
ExpectedCircuitSpecificSRS,
Message(String),
SynthesisError(SynthesisError),
EmptyBatch,
Terminated,
}
Variants
AnyhowError(Error)
ConstraintFieldError(ConstraintFieldError)
Crate(&'static str, String)
ExpectedCircuitSpecificSRS
Message(String)
SynthesisError(SynthesisError)
EmptyBatch
Terminated
Trait Implementations
sourceimpl Debug for SNARKError
impl Debug for SNARKError
sourceimpl Display for SNARKError
impl Display for SNARKError
sourceimpl Error for SNARKError
impl Error for SNARKError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<AHPError> for SNARKError
impl From<AHPError> for SNARKError
sourceimpl From<ConstraintFieldError> for SNARKError
impl From<ConstraintFieldError> for SNARKError
sourcefn from(source: ConstraintFieldError) -> Self
fn from(source: ConstraintFieldError) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for SNARKError
impl From<Error> for SNARKError
sourceimpl From<MarlinError> for SNARKError
impl From<MarlinError> for SNARKError
sourcefn from(error: MarlinError) -> Self
fn from(error: MarlinError) -> Self
Converts to this type from the input type.
sourceimpl From<PCError> for SNARKError
impl From<PCError> for SNARKError
sourceimpl From<SynthesisError> for SNARKError
impl From<SynthesisError> for SNARKError
sourcefn from(error: SynthesisError) -> Self
fn from(error: SynthesisError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for SNARKError
impl Send for SNARKError
impl Sync for SNARKError
impl Unpin for SNARKError
impl !UnwindSafe for SNARKError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more