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