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