summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/error.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/error.rs b/src/error.rs
index b27124c..cde9a34 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -111,8 +111,6 @@ pub enum CommandError {
UnknownCommand,
/// AES decryption failed.
AesDecryptionFailed,
- /// An unspecified error occurred.
- Undefined,
}
impl CommandError {
@@ -151,7 +149,6 @@ impl fmt::Display for CommandError {
CommandError::NotSupported => "This command is not supported by this device",
CommandError::UnknownCommand => "This command is unknown",
CommandError::AesDecryptionFailed => "AES decryption failed",
- CommandError::Undefined => "An unspecified error occurred",
})
}
}