Function rstats::error::re_error

source ·
pub fn re_error<T>(
    kind: &str,
    msg: impl Into<String>
) -> Result<T, RError<String>>
Expand description

Convenience function for building RError
from short name and payload message, which can be either &str or String