Enum pairing::GroupDecodingError
[−]
[src]
pub enum GroupDecodingError { NotOnCurve, NotInSubgroup, CoordinateDecodingError(&'static str, PrimeFieldDecodingError), UnexpectedCompressionMode, UnexpectedInformation, }
An error that may occur when trying to decode an EncodedPoint
.
Variants
NotOnCurve
The coordinate(s) do not lie on the curve.
NotInSubgroup
The element is not part of the r-order subgroup.
CoordinateDecodingError(&'static str, PrimeFieldDecodingError)
One of the coordinates could not be decoded
UnexpectedCompressionMode
The compression mode of the encoded element was not as expected
UnexpectedInformation
The encoding contained bits that should not have been set
Trait Implementations
impl Debug for GroupDecodingError
[src]
impl Error for GroupDecodingError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more