[][src]Function ion_rs::result::illegal_operation_raw

pub fn illegal_operation_raw<S: AsRef<str>>(description: S) -> IonError

A convenience method for creating an IonError::IllegalOperation with the provided description text. Useful for calling Option#ok_or_else.