summaryrefslogtreecommitdiff
path: root/src/client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.rs')
-rw-r--r--src/client.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.rs b/src/client.rs
index 9862ad3..f90d377 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -27,10 +27,10 @@ pub enum ClientError {
NotFound(String),
#[error("Server does not have chunk {0}")]
- ChunkNotFound(String),
+ ChunkNotFound(ChunkId),
#[error("Server does not have generation {0}")]
- GenerationNotFound(String),
+ GenerationNotFound(ChunkId),
#[error("Server response did not have a 'chunk-meta' header for chunk {0}")]
NoChunkMeta(ChunkId),