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