1 2 3 4 5 6 7 8 9
use thiserror::Error;
#[derive(Debug, Error)]
#[error("unsupported device: {0}")]
pub struct UnsupportedDeviceError(pub String);
#[derive(Debug, Error)]
#[error("unsupported data type code: {0}")]
pub struct UnsupportedDataTypeCode(pub String);