aboutsummaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-04-12 12:10:33 +0200
committerAlex Auvolat <alex@adnab.me>2020-04-12 12:10:33 +0200
commit419c70e50613faf5b450b9555aec32cb19226153 (patch)
treeea12fd902d50e5cb5dd5ffd544a7bc816866c134 /src/error.rs
parent9c931f5edacbaaab746ecf180fac2dd7062d0336 (diff)
downloadgarage-419c70e50613faf5b450b9555aec32cb19226153.tar.gz
garage-419c70e50613faf5b450b9555aec32cb19226153.zip
fixes
- make block_put call uninterruptible by client - used meta_replication_factor instead of data_replication_factor - listen on ipv6
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index 7a116954..661621c9 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -32,6 +32,9 @@ pub enum Error {
#[error(display = "Timeout: {}", _0)]
RPCTimeout(#[error(source)] tokio::time::Elapsed),
+ #[error(display = "Tokio join error: {}", _0)]
+ TokioJoin(#[error(source)] tokio::task::JoinError),
+
#[error(display = "RPC error: {}", _0)]
RPCError(String),