blob: bfffa31751685d63cfef5b5ec70a49af5d8f0136 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
pub mod dsb;
pub mod types;
pub(crate) mod error;
pub use error::Error;
/// create a new dsb_parse error
#[macro_export]
macro_rules! err_dsb_parse {
($fmt:expr) => ({
$crate::error::Error::DsbParse{ msg: ($fmt).
to_string() }
});
($fmt:expr, $($arg:tt)*) => ({
$crate::error::Error::DsbParse{ msg: format!
($fmt, $($arg)*) }
});
}
|