pub type APIResult<T> = Result<T, APIError>;
Result type for API operations
pub enum APIResult<T> { Ok(T), Err(APIError), }
Contains the success value
Contains the error value