Enum snarkvm_curves::errors::GroupError
source · pub enum GroupError {
Crate(&'static str, String),
FieldError(FieldError),
InvalidGroupElement,
InvalidString,
Message(String),
ParsingEmptyString,
ParsingNonDigitCharacter,
}
Variants§
Crate(&'static str, String)
FieldError(FieldError)
InvalidGroupElement
InvalidString
Message(String)
ParsingEmptyString
ParsingNonDigitCharacter
Trait Implementations§
source§impl Debug for GroupError
impl Debug for GroupError
source§impl Display for GroupError
impl Display for GroupError
source§impl Error for GroupError
impl Error for GroupError
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()
source§impl From<Error> for GroupError
impl From<Error> for GroupError
source§impl From<FieldError> for GroupError
impl From<FieldError> for GroupError
source§fn from(error: FieldError) -> Self
fn from(error: FieldError) -> Self
Converts to this type from the input type.
source§impl From<GroupError> for Error
impl From<GroupError> for Error
source§fn from(error: GroupError) -> Self
fn from(error: GroupError) -> Self
Converts to this type from the input type.