SystemResult

Type Alias SystemResult 

Source
pub type SystemResult = Result<(), EcsError>;
Expand description

The result of a System’s execution. Returns Ok(()) on success, EcsError on failure. To return a custom error from a system, use the system_error! macro.

Aliased Type§

pub enum SystemResult {
    Ok(()),
    Err(EcsError),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(EcsError)

Contains the error value