aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-17 02:05:52 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-01-20 20:57:07 +0000
commitdb198936be1a80f1735731d9e95eb6f4c48a5329 (patch)
tree3d157472a3e88aea458b16cb87c58d6f5c42ac11 /CHANGELOG.md
parent591c55ff294ee12812e4be1b90f03a093f83a4f5 (diff)
downloadnitrokey-rs-db198936be1a80f1735731d9e95eb6f4c48a5329.tar.gz
nitrokey-rs-db198936be1a80f1735731d9e95eb6f4c48a5329.tar.bz2
Add the Error enum and the Result<T> typedef
The Error enum is a wrapper for the possible error types (currently only CommandError). Result<T> is defined as Result<T, Error>.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d2982a9..c69fd25 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,7 +2,9 @@
- Remove the `test-pro` and `test-storage` features.
- Implement `Display` for `Version`.
- Introduce `DEFAULT_ADMIN_PIN` and `DEFAULT_USER_PIN` constants.
-- Implement `std::error::Error` for `CommandError`.
+- Refactor the error handling code:
+ - Implement `std::error::Error` for `CommandError`.
+ - Add the `Error` enum and the `Result` typedef.
# v0.3.4 (2019-01-20)
- Fix authentication methods that assumed that `char` is signed.