ions 0.1.7

ION(s) | intuitive object notation (ser/deser) ion is a data format designed to be user friendly, easy to pick up and easy on the eyes. this library is a serde implementation of the ion data format.
Documentation
use serde::ser::{Error, StdError};

#[derive(Debug)]
pub struct Err;

impl std::fmt::Display for Err {
    fn fmt(&self, _f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        unimplemented!()
    }
}

impl Error for Err {
    fn custom<T>(msg: T) -> Self
    where
        T: std::fmt::Display,
        {
        println!("{}", msg.to_string());
        unimplemented!()
    }
}

impl serde::de::Error for Err {
    fn custom<T>(msg: T) -> Self
    where
        T: std::fmt::Display,
    {
        println!("{}", msg.to_string());
        unimplemented!()
    }
}

impl StdError for Err {}