aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-17 13:10:01 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-01-20 21:08:52 +0000
commit27138c4b799248d2d39e9681337a620c89636557 (patch)
tree91dd1b747d7ce78c1fd0c98e91efeaced42437f3 /CHANGELOG.md
parent5e258d26b55af6bed7c316b1c7ac12e20946702d (diff)
downloadnitrokey-rs-27138c4b799248d2d39e9681337a620c89636557.tar.gz
nitrokey-rs-27138c4b799248d2d39e9681337a620c89636557.tar.bz2
Add the CommunicationError enum
Communication errors returned by libnitrokey were previously not mapped to an error type in the nitrokey crate. We introduce the CommunicationError enum to represent these errors.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c34175e..413c626 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,8 @@
- Add the `Error` enum and the `Result` typedef.
- Add the `LibraryError` enum and move the library error variants from
`CommandError` to `LibraryError`.
+ - Add the `CommunicationError` enum and move the communication error variants
+ from `CommandError` to `CommunicationError`.
- Return `Error` instead of `CommandError` in all public functions.
- Move the `CommandError::RngError` variant to `Error::RandError` and the
`CommandError::Unknown` variant to `Error::Unknown`.