Skip to content

Commit

Permalink
show error message
Browse files Browse the repository at this point in the history
  • Loading branch information
radu committed May 19, 2024
1 parent a64aadd commit 4da57c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/encryptedfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ pub enum FsError {
source: bincode::Error,
backtrace: Backtrace,
},
#[error("item not found")]
#[error("item not found: {0}")]
NotFound(&'static str),
#[error("inode not found")]
InodeNotFound,
Expand All @@ -326,7 +326,7 @@ pub enum FsError {
AlreadyOpenForWrite,
#[error("not empty")]
NotEmpty,
#[error("other")]
#[error("other: {0}")]
Other(&'static str),
#[error("invalid password")]
InvalidPassword,
Expand Down

0 comments on commit 4da57c8

Please sign in to comment.