about summary refs log blame commit diff
path: root/tvix/store/src/errors.rs
blob: 003c619b7213cd2b3929985685b63c83ba97768f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                   
use thiserror::Error;

/// Errors related to communication with the store.
#[derive(Debug, Error)]
pub enum Error {
    #[error("invalid request: {0}")]
    InvalidRequest(String),

    #[error("internal storage error: {0}")]
    StorageError(String),
}