aboutsummaryrefslogtreecommitdiff
path: root/src/propspec.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-03-17 21:02:38 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-03-18 09:55:57 -0700
commit18bbd370b56ba080a4d64545ed66f31d49e1b442 (patch)
treeaf1434b06ce7379d6b683dceb50d17cee4e2fa7f /src/propspec.lisp
parent2403f5c0a09915cd1100159953fa8430f0417ced (diff)
downloadconsfigurator-18bbd370b56ba080a4d64545ed66f31d49e1b442.tar.gz
tidy up signalling INAPPLICABLE-PROPERTY and FAILED-CHANGE
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/propspec.lisp')
-rw-r--r--src/propspec.lisp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/propspec.lisp b/src/propspec.lisp
index c51b7df..2c199e5 100644
--- a/src/propspec.lisp
+++ b/src/propspec.lisp
@@ -337,8 +337,9 @@ apply the elements of REQUIREMENTS in reverse order."
(or (loop with host = (class-of (get-hostattrs-car :os))
for (type propapp) on cases by #'cddr
when (subtypep host type) return propapp)
- (error 'inapplicable-property
- :text "Host's OS fell through OS:TYPECASE."))))
+ (inapplicable-property
+ "Host's OS ~S fell through OS:TYPECASE."
+ (class-of (get-hostattrs-car :os))))))
(retprop :type (collapse-types (loop for propapp in (cdr cases) by #'cddr
collect (propapptype propapp)))
:desc (lambda (&rest args)