summary refs log tree commit diff
path: root/gnu.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-04-03 23:52:19 +0200
committerLudovic Courtès <ludo@gnu.org>2017-04-04 00:10:00 +0200
commit3e43166ffc11fb117c55da594e57866a75625900 (patch)
tree9f77a65750631ca2b6e5c5a0b7b55daa71f23b73 /gnu.scm
parentb98d4ec0aaab744ad3452cc57f9598db58a0e352 (diff)
downloadguix-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 'gnu.scm')
0 files changed, 0 insertions, 0 deletions