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