blob: e6e12dceeaeb71d69a44c468c44b2506245e0bb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error("IO error: {0}")]
IO(#[from] std::io::Error),
#[error(transparent)]
Format(#[from] ron::error::SpannedError),
#[error("Parsing error: {0}")]
Parse(#[from] std::str::Utf8Error),
#[error("History file error: {0}")]
History(#[from] crate::history::Error),
}
|