diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-04-03 23:52:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-04-04 00:10:00 +0200 |
commit | 3e43166ffc11fb117c55da594e57866a75625900 (patch) | |
tree | 9f77a65750631ca2b6e5c5a0b7b55daa71f23b73 /tests/packages.scm | |
parent | b98d4ec0aaab744ad3452cc57f9598db58a0e352 (diff) | |
download | guix-3e43166ffc11fb117c55da594e57866a75625900.tar.gz |
gexp: 'lower-object' raises an exception when passed an invalid object.
* guix/gexp.scm (&gexp-error, &gexp-input-error): New error conditions. (lower-object): Raise &gexp-input-error when 'lookup-compiler' returns #f. * tests/gexp.scm ("lower-object & gexp-input-error?"): New test. * guix/ui.scm (call-with-error-handling): Add case for 'gexp-input-error?'.
Diffstat (limited to 'tests/packages.scm')
0 files changed, 0 insertions, 0 deletions