diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-20 21:05:58 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-20 21:08:26 +0000 |
commit | cafc3a6f8cfb9f82343c1d3fe843c7f8d7ef1136 (patch) | |
tree | 3ac8f9ed35646d99e1b1c48e0d42796186e06b77 /CHANGELOG.md | |
parent | 5c5644d2e11af0cbf4df5c5ddbc22cf0b12af4a6 (diff) | |
download | nitrokey-rs-cafc3a6f8cfb9f82343c1d3fe843c7f8d7ef1136.tar.gz nitrokey-rs-cafc3a6f8cfb9f82343c1d3fe843c7f8d7ef1136.tar.bz2 |
Refactor CommandError::RngError into Error::RandError
We reserve CommandError for errors returned by the Nitrokey device.
Errors during random number generation should have their own type.
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 bbb3202..5a78724 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Implement `std::error::Error` for `CommandError`. - Add the `Error` enum and the `Result` typedef. - Return `Error` instead of `CommandError` in all public functions. + - Move the `CommandError::RngError` variant to `Error::RandError`. # v0.3.4 (2019-01-20) - Fix authentication methods that assumed that `char` is signed. |