fuel_vm::error

Type Alias SimpleResult

source
pub type SimpleResult<T> = Result<T, PanicOrBug>;
Expand description

Result of a operation that doesn’t access storage

Aliased Type§

enum SimpleResult<T> {
    Ok(T),
    Err(PanicOrBug),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(PanicOrBug)

Contains the error value