Skip to main content

freedesktop_rs/
error.rs

1/// This crate's errors
2#[derive(Debug)]
3pub enum Error {
4    /// The character is not in the ASCII table.
5    NotAscii(char),
6    /// The string was not found.
7    NotFound(String),
8    /// The date could not be parsed.
9    #[cfg(feature = "trash")]
10    DateParsing(time::error::Parse),
11    /// The date could not be formated.
12    #[cfg(feature = "trash")]
13    DateFormat(time::error::Format),
14}