Enum dusk_blindbid::BlindBidError [−][src]
pub enum BlindBidError { InvalidScoreFieldsLen, ExpiredBid, MaximumBidValueExceeded { max_val: JubJubScalar, found: JubJubScalar, }, MinimumBidValueUnreached { min_val: JubJubScalar, found: JubJubScalar, }, WrongSecretProvided, IOError, SerializationError(DuskBytesError), PoseidonError(PoseidonError), }
Expand description
Compilation of the erros that blindbid procedures might end up producing.
Variants
Error for the cases when we the score results are too large to
fit inside a Scalar
.
Error that happens when you try to generate a Score
for a Bid
has already expired.
Error for the cases when we the provided Bid value is bigger than the maximum allowed by the specs..
Show fields
Fields of MaximumBidValueExceeded
Error for the cases when we the provided Bid value is lower than the minimum allowed by the specs..
Show fields
Fields of MinimumBidValueUnreached
Error when there is a decrypt attempt with the wrong secret
Invalid encoding/decoding
SerializationError(DuskBytesError)
Dusk-bytes serialization error
PoseidonError(PoseidonError)
Poseidon lib error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BlindBidError
impl Send for BlindBidError
impl Sync for BlindBidError
impl Unpin for BlindBidError
impl UnwindSafe for BlindBidError