1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("Message deserialization error: {0}")]
    Deserialization(String),

    #[error("Message serialization error: {0}")]
    Serialization(String),

    #[error("Value formating error: {0}")]
    Format(#[from] formatx::Error),
}