pub type ApiResult<R> = Result<R, ApiError>;
pub enum ApiResult<R> { Ok(R), Err(ApiError), }
Contains the success value
Contains the error value