1 2 3 4 5 6 7
use thiserror::Error;
#[derive(Error, Debug, PartialEq)]
pub enum TypeError {
#[error("data size excess the limitation `{0}`")]
SizeExcess(usize),
}
1 2 3 4 5 6 7
use thiserror::Error;
#[derive(Error, Debug, PartialEq)]
pub enum TypeError {
#[error("data size excess the limitation `{0}`")]
SizeExcess(usize),
}