Function rstats::error::arith_error

source ยท
pub fn arith_error<T>(msg: impl Into<String>) -> Result<T, RError<String>>
Expand description

Convenience function for building RError::ArithError(String)
from payload message, which can be either literal &str or String. String allows splicing in values of variables for debugging, using format!