autoendpoint::error

Type Alias ApiResult

source
pub type ApiResult<T> = Result<T, ApiError>;
Expand description

Common Result type.

Aliased Type§

enum ApiResult<T> {
    Ok(T),
    Err(ApiError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ApiError)

Contains the error value