blob: 4891c7dbb6c66fe3b0f86e9b9153858370f1b554 (
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("Session not found")]
NotFound,
}
|