pub enum SettlementError {
AmountOutOfRange(Decimal),
}Expand description
Errors that can be returned by eeg-billing functions.
Variants§
AmountOutOfRange(Decimal)
Settlement amount exceeded the representable range (> ±92 233 720 368 EUR).
This is impossible in practice for any real EEG/KWKG plant.
Trait Implementations§
Source§impl Debug for SettlementError
impl Debug for SettlementError
Source§impl Display for SettlementError
impl Display for SettlementError
Source§impl Error for SettlementError
impl Error for SettlementError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for SettlementError
impl RefUnwindSafe for SettlementError
impl Send for SettlementError
impl Sync for SettlementError
impl Unpin for SettlementError
impl UnsafeUnpin for SettlementError
impl UnwindSafe for SettlementError
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
Mutably borrows from an owned value. Read more