pub fn operational() -> Result<()>Expand description
Ok(()) unless the module is in its error state – or, in a build with
--cfg ic_approved_only, has not yet passed its self-tests.
The first line of every operation that can refuse:
fn service() -> ic_core::Result<()> {
ic_core::module::operational()?;
// ...
Ok(())
}