type-error (ANSI and GNU Common Lisp Document)

Next: type-error-datum, Previous: typep, Up: Types and Classes Dictionary

#### 4.4.29 type-error [Condition Type]

#### Class Precedence List::

type-error, error, serious-condition, condition, t

#### Description::

The type type-error represents a situation in which an object is not of the expected type. The “offending datum” and “expected type” are initialized by the initialization arguments named `:datum` and `:expected-type` to make-condition, and are accessed by the functions type-error-datum and type-error-expected-type.

#### See Also::

type-error-datum , type-error-expected-type