aboutsummaryrefslogtreecommitdiff
path: root/tests/lib.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-08 19:45:45 -0800
committerRobin Krahl <robin.krahl@ireas.org>2019-01-09 15:42:30 +0100
commit0f157082bb75d08ad4fd9bfd1cdf6646fb374c3f (patch)
tree2e0576a5a480225daace9918c3e44f1419341be4 /tests/lib.rs
parentbad12ad3c57c67d42243338af7d65c3591fed327 (diff)
downloadnitrokey-rs-0f157082bb75d08ad4fd9bfd1cdf6646fb374c3f.tar.gz
nitrokey-rs-0f157082bb75d08ad4fd9bfd1cdf6646fb374c3f.tar.bz2
Make three more error codes known
Three more error codes are defined in libnitrokey but currently reported as the CommandError::Unknown variant: 200: representing a string that exceeds a limit 202: indicating a string that is not in hexadecimal format when it should be 203: suggesting that the target buffer is smaller than the source buffer and, hence, too small This change introduces the CommandError variants StringTooLong, InvalidHexString and TargetBufferTooSmall, respectively, representing those errors.
Diffstat (limited to 'tests/lib.rs')
0 files changed, 0 insertions, 0 deletions