pub fn check() -> Result<(), Error>
lock
Turn the current CSPICE error state into a Result, clearing it on the way.
Result
Ok(()) when no routine has failed since the last reset.
Ok(())