Skip to content

Commit 757854e

Browse files
committed
allow expect only for sending errors on channel
Signed-off-by: simonsan <[email protected]>
1 parent 5fced76 commit 757854e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/core/src/error.rs

+2
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ pub enum CommandErrorKind {
218218
NotAllowedWithAppendOnly(String),
219219
/// Failed to acquire a mutex lock
220220
MutexLockFailed,
221+
/// Reading file type failed: `{0}`
222+
ErrorReadingFileType(PathBuf),
221223
}
222224

223225
/// [`CryptoErrorKind`] describes the errors that can happen while dealing with Cryptographic functions

0 commit comments

Comments
 (0)