Skip to main content

operational

Function operational 

Source
pub fn operational() -> Result<()>
Expand description

Ok(()) unless the module is in its error state.

The first line of every operation that can refuse:

fn service() -> ic_core::Result<()> {
    ic_core::module::operational()?;
    // ...
    Ok(())
}