pub fn re_error<T>( kind: &str, msg: impl Into<String> ) -> Result<T, RError<String>>
Convenience function for building RError from short name and payload message, which can be either &str or String