diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-17 13:38:28 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-20 21:08:52 +0000 |
commit | c191e875492ff8aeab1b4493b87486cd265f0edc (patch) | |
tree | 5892f3787c3a67dac859a3dba5d056034bf1bcc4 /tests/util | |
parent | c3e551dd40142bcd2552972d549f31ad7483621d (diff) | |
download | nitrokey-rs-c191e875492ff8aeab1b4493b87486cd265f0edc.tar.gz nitrokey-rs-c191e875492ff8aeab1b4493b87486cd265f0edc.tar.bz2 |
Introduce the Error::UnexpectedError variant
The UnexpectedError variant is used when a libnitrokey function returns
a value that violates the function’s contract, for example if a function
returns a null pointer although it guarantees to never return null.
Previously, we returned a CommandError::Unspecified in these cases.
Diffstat (limited to 'tests/util')
0 files changed, 0 insertions, 0 deletions