pub fn decoding_error<T, S: AsRef<str>>(description: S) -> IonResult<T>
Expand description

A convenience method for creating an IonResult containing an IonError::DecodingError with the provided description text.