pub type RE = RError<String>;
Expand description
Shorthand type for returned errors with String (message) payload
Aliased Type§
enum RE {
NoDataError(String),
DataError(String),
ArithError(String),
OtherError(String),
}
Variants§
NoDataError(String)
Error indicating that insufficient data has been supplied
DataError(String)
Error indicating that a wrong kind/size of data has been supplied
ArithError(String)
Error indicating an invalid result, such as an attempt at division by zero
OtherError(String)
Other error converted to RError