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