pub fn decode_error<T>(desc: &'static str) -> Result<T>
Expand description

Convenience function to create a decode error.