Function metatensor::errors::check_status
source · pub fn check_status(status: mts_status_t) -> Result<(), Error>
Expand description
Check an mts_status_t
, returning an error if is it not MTS_SUCCESS
pub fn check_status(status: mts_status_t) -> Result<(), Error>
Check an mts_status_t
, returning an error if is it not MTS_SUCCESS