#[derive(Clone, Copy, Debug, Eq, PartialEq, thiserror::Error)]
pub enum Error {
#[error("Buffer is full")]
BufferFull,
#[error("Invalid TSI Type: {0}")]
Tsi(u8),
#[error("Invalid TSF Type: {0}")]
Tsf(u8),
#[error("Invalid Packet Type: {0}")]
PktType(u8),
#[error("Conversion error: {0}")]
TryFromIntError(#[from] core::num::TryFromIntError),
}