Skip to content

Commit

Permalink
Define UNDEFINED-CLASS condition
Browse files Browse the repository at this point in the history
Already used by FIND-CLASS but lacking definition. Oops.
  • Loading branch information
Bike committed Oct 18, 2023
1 parent 217671e commit 2e9e3ba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Code/conditions.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,9 @@
but the name is not defined as a function~@
or a macro."
(name condition)))))

(define-condition env:undefined-class (cell-error)
()
(:report (lambda (condition stream)
(format stream "There is no class named ~s."
(cell-error-name condition)))))

0 comments on commit 2e9e3ba

Please sign in to comment.