diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-05-31 21:59:43 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-31 22:39:48 +0200 |
commit | 1a706ff5cf12202c80bcaafb77a3cab43bac6f4f (patch) | |
tree | e263440fe6e4b985255b4bde7be5fbb0f1775526 /scripts | |
parent | 23185ceadcb522c702cde28be2b5a7379d4ee9f1 (diff) | |
download | guix-1a706ff5cf12202c80bcaafb77a3cab43bac6f4f.tar guix-1a706ff5cf12202c80bcaafb77a3cab43bac6f4f.tar.gz |
base32: Use a custom error condition instead of 'misc-error'.
Suggested by Christopher Allan Webber <cwebber@dustycloud.org>.
* guix/base32.scm (&invalid-base32-character): New error condition.
(make-base32-string->bytevector): Use it instead of 'error'.
* tests/base32.scm ("&invalid-base32-character"): New test.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions