CLHS: Condition Type TYPE-ERROR

#

Condition Type TYPE-ERROR

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

Copyright 1996-2005, LispWorks Ltd. All rights reserved.