summaryrefslogtreecommitdiff
path: root/systems/storage/src/error.rs
blob: 4b3ad7e807bfc778ba759b32c10031fe057c5f5a (plain)
1
2
3
4
5
6
7
8
#[derive(Debug, thiserror::Error)]
pub enum StorageIOError {
    #[error("IO error: {0}")]
    IOErr(#[from] std::io::Error),

    #[error("Hash too short")]
    HashTooShort,
}