Enum concordium_std::AmountParseError [−][src]
pub enum AmountParseError {
Overflow,
ExpectedDot,
ExpectedDigit,
ExpectedMore,
ExpectedDigitOrDot,
AtMostSixDecimals,
}
Expand description
An error indicating why parsing of an amount failed. Since amount parsing is typically a user-facing activity this is fairly precise, so we can notify the user why we failed, and what they can do to fix it.
Variants
Overflow
ExpectedDot
ExpectedDigit
ExpectedMore
ExpectedDigitOrDot
AtMostSixDecimals
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AmountParseError
impl Send for AmountParseError
impl Sync for AmountParseError
impl Unpin for AmountParseError
impl UnwindSafe for AmountParseError
Blanket Implementations
Mutably borrows from an owned value. Read more