//! contains definition of various errors.
//!usestd::fmt::Debug;pubtypeDxResult<T>=Result<T, DxFilterErr>;/// all methods in this crate throw this error
#[repr(u8)]#[derive(Clone, Debug)]pubenumDxFilterErr{/// only included for debug
Ok,/// Parameter provided is wrong/ unexpected
BadParam(String),/// unexpected internal error. typically happens only with bugs in this crate.
Unknown(String),}