Enum astro_float_num::Error
source · pub enum Error {
ExponentOverflow(Sign),
DivisionByZero,
InvalidArgument,
MemoryAllocation,
}
Expand description
Possible errors.
Variants§
ExponentOverflow(Sign)
The exponent value becomes greater than the upper limit of the range of exponent values.
DivisionByZero
Divizor is zero.
InvalidArgument
Invalid argument.
MemoryAllocation
Memory allocation error.
Trait Implementations§
source§impl Error for Error
impl Error for Error
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<TryReserveError> for Error
impl From<TryReserveError> for Error
source§fn from(_: TryReserveError) -> Self
fn from(_: TryReserveError) -> Self
Converts to this type from the input type.