blob: a2ba6c9b66fe0f9e00c9646295d949c68ab61563 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error(transparent)]
Io(#[from] std::io::Error),
#[error(transparent)]
Scroll(#[from] scroll::Error),
#[error("Failed to open thread")]
ThreadOpen(#[source] std::io::Error),
#[error("Failed to suspend thread")]
ThreadSuspend(#[source] std::io::Error),
#[error("Failed to get thread context")]
ThreadContext(#[source] std::io::Error),
}
|