chalkydri/error.rs
1/// Chalkydri's error type
2#[derive(Debug)]
3pub enum Error {
4 InvalidConfig,
5 FailedToReadConfig,
6 FailedToMapBuffer,
7 FailedToPullSample,
8}
9
10impl std::fmt::Display for Error {
11 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
12 <Self as std::fmt::Debug>::fmt(&self, f)
13 }
14}
15
16impl std::error::Error for Error {}