Enum kimchi::snarky::errors::SnarkyError
source · pub enum SnarkyError {
CompilationError(SnarkyCompilationError),
RuntimeError(SnarkyRuntimeError),
}
Expand description
Snarky errors can come from either a compilation or runtime error.
Variants§
CompilationError(SnarkyCompilationError)
RuntimeError(SnarkyRuntimeError)
Trait Implementations§
source§impl Clone for SnarkyError
impl Clone for SnarkyError
source§fn clone(&self) -> SnarkyError
fn clone(&self) -> SnarkyError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SnarkyError
impl Debug for SnarkyError
source§impl Display for SnarkyError
impl Display for SnarkyError
source§impl Error for SnarkyError
impl Error for SnarkyError
1.30.0 · source§fn 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 · 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 RefUnwindSafe for SnarkyError
impl Send for SnarkyError
impl Sync for SnarkyError
impl Unpin for SnarkyError
impl UnwindSafe for SnarkyError
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