duration_str/
error.rs

1use std::fmt::Debug;
2use thiserror::Error;
3
4#[derive(Error, Debug, PartialEq)]
5pub enum DError {
6    #[error("{0}")]
7    ParseError(String),
8    #[error("overflow error")]
9    OverflowError,
10}