diff options
Diffstat (limited to 'tvix/store/src/errors.rs')
-rw-r--r-- | tvix/store/src/errors.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tvix/store/src/errors.rs b/tvix/store/src/errors.rs new file mode 100644 index 000000000000..003c619b7213 --- /dev/null +++ b/tvix/store/src/errors.rs @@ -0,0 +1,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), +} |