1use thiserror::Error; 2 3pub type Result<T> = core::result::Result<T, KbsTypesError>; 4 5#[derive(Error, Debug)] 6pub enum KbsTypesError { 7 #[error("Serialize/Deserialize error")] 8 Serde, 9}