pub enum Error {
ArithError(Error),
CommitmentError(Error),
SynthesisError(SynthesisError),
Unsupported(String),
DomainCreationFailure,
IndivisibleByVanishingPoly,
UnsatisfiedRelation(String),
InvalidPublicParameters(String),
}Expand description
Error enumerates possible errors during folding scheme operations.
Variants§
ArithError(Error)
Error::ArithError indicates an error from the underlying constraint
system.
CommitmentError(Error)
Error::CommitmentError indicates an error from the underlying
commitment scheme.
SynthesisError(SynthesisError)
Error::SynthesisError indicates an error during constraint
synthesis.
Unsupported(String)
Error::Unsupported indicates that a certain use case is not
supported.
DomainCreationFailure
Error::DomainCreationFailure indicates a failure in creating
evaluation domains.
IndivisibleByVanishingPoly
Error::IndivisibleByVanishingPoly indicates that a polynomial is
not divisible by the vanishing polynomial of a certain domain.
UnsatisfiedRelation(String)
Error::UnsatisfiedRelation indicates that a certain relation is not
satisfied.
InvalidPublicParameters(String)
Error::InvalidPublicParameters indicates that the provided public
parameters are invalid.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<Error> for Error
impl From<Error> for Error
Source§fn from(source: ArithError) -> Self
fn from(source: ArithError) -> Self
Source§impl From<Error> for Error
impl From<Error> for Error
Source§fn from(source: CommitmentError) -> Self
fn from(source: CommitmentError) -> Self
Source§impl From<SynthesisError> for Error
impl From<SynthesisError> for Error
Source§fn from(source: SynthesisError) -> Self
fn from(source: SynthesisError) -> Self
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more