Skip to content

Commit

Permalink
fix: improve error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
vmx committed Nov 27, 2020
1 parent 85dc918 commit ee223fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ use crate::primary::PrimaryError;

#[derive(Error, Debug)]
pub enum Error {
#[error("IO Error.")]
#[error("IO Error: {0}")]
Io(#[from] io::Error),
#[error("Buckets error.")]
BucketsOutOfBounds,
#[error("Primary storage error.")]
#[error("Primary storage error: {0}")]
Primary(#[from] PrimaryError),
}

0 comments on commit ee223fd

Please sign in to comment.