diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-20 20:58:18 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-20 21:08:20 +0000 |
commit | 94390aadc8a3997d379bf5e4c0bc00c2a9669a34 (patch) | |
tree | a22cb82e8d6450ad034230d77e2db6605e54df8b /CHANGELOG.md | |
parent | db198936be1a80f1735731d9e95eb6f4c48a5329 (diff) | |
download | nitrokey-rs-94390aadc8a3997d379bf5e4c0bc00c2a9669a34.tar.gz nitrokey-rs-94390aadc8a3997d379bf5e4c0bc00c2a9669a34.tar.bz2 |
Return Error instead of CommandError
This patch changes all public functions to return the Error enum instead
of the CommandError enum. This breaks the tests which will be fixed
with the next patch.
This patch also adds a placeholder variant Error::CommandError and a
placeholder enum CommandError to make the transition to a new
nitrokey-test version easier.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c69fd25..bbb3202 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Refactor the error handling code: - Implement `std::error::Error` for `CommandError`. - Add the `Error` enum and the `Result` typedef. + - Return `Error` instead of `CommandError` in all public functions. # v0.3.4 (2019-01-20) - Fix authentication methods that assumed that `char` is signed. |