bigdecimal_plus 1.0.0

Improved arbitrary precision decimal numbers
Documentation
1
2
3
4
5
6
7
8
9
10
#[derive(thiserror::Error, Debug)]
pub enum BaseCrateError {
    #[error("Division by zero")]
    DivisionByZero,

    #[error(transparent)]
    UnexpectedError(#[from] anyhow::Error),
}

pub(crate) type Result<T> = std::result::Result<T, BaseCrateError>;