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 /src/device.rs | |
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 'src/device.rs')
0 files changed, 0 insertions, 0 deletions