pub type RgResult<T> = Result<T, ErrorInfo>;
enum RgResult<T> { Ok(T), Err(ErrorInfo), }
Contains the success value
Contains the error value