X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcondition.lisp;h=d76500f083396e62061167c6bf58d094e505f60f;hb=a0a413499415738d23cc40baa44e9c404af54a94;hp=2633215a4efbb7d0cf07b6e14a98baf913e2f987;hpb=83e5661ae59addac315e6754013b3887b477570f;p=sbcl.git diff --git a/src/code/condition.lisp b/src/code/condition.lisp index 2633215..d76500f 100644 --- a/src/code/condition.lisp +++ b/src/code/condition.lisp @@ -672,6 +672,15 @@ ;;;; setup of CONDITION machinery, only because that makes it easier to ;;;; get cold init to work. +(define-condition values-type-error (type-error) + () + (:report + (lambda (condition stream) + (format stream + "~@" + (type-error-datum condition) + (type-error-expected-type condition))))) + ;;; KLUDGE: a condition for floating point errors when we can't or ;;; won't figure out what type they are. (In FreeBSD and OpenBSD we ;;; don't know how, at least as of sbcl-0.6.7; in Linux we probably