//! Error type for `hap-tlv8`.
//!
//! [`Tlv8Error`] covers every failure mode of [`crate::Tlv8Reader`] and the
//! typed getters on [`crate::Tlv8Map`]. The writer never fails: it appends to
//! a `Vec<u8>` and fragments automatically, so it has no error path.
use Error;
/// All errors `hap-tlv8` can produce.
/// `Result<T, Tlv8Error>` for convenience.
pub type Result<T> = Result;