Function ion_rs::result::illegal_operation_raw
source · pub fn illegal_operation_raw<S: AsRef<str>>(operation: S) -> IonError
Expand description
A convenience method for creating an IonError::IllegalOperation with the provided operation text. Useful for calling Option#ok_or_else.