blob: 975749d72d27608cc9f9ac7118bd07c1b151e081 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#[derive(Debug, thiserror::Error)]
pub enum ChunkFailed {
#[error("IO error: {0}")]
Io(#[from] std::io::Error),
#[error("Target policy not found")]
PolicyNotFound,
#[error("File read failed: {0}")]
FileReadFailed(std::path::PathBuf),
#[error("File open failed: {0}")]
FileOpenFailed(std::path::PathBuf),
}
|