1 2 3 4 5
#[derive(Debug, thiserror::Error)] pub enum Error { #[error("TryFrom failed: {0}")] TryFrom(String), }