Next: Simple Operations on Condition Instances, Previous: Generating Operations on Conditions, Up: Condition Instances [Contents][Index]
The condition data type is abstracted through a predicate
condition?
and a set of accessor procedures.
Returns #f
if and only if object is not a condition.
Returns the condition type of which condition is an instance.
Returns #t
if the condition is an instance of condition
type condition-type:error
or a specialization of it, #f
otherwise.
Returns the list of restarts specified when condition was created.
Returns the continuation specified when condition was created. This is provided for inspecting the state of the system when the condition occurred, not for continuing or restarting the computation.
Writes a description of condition to port, using the
reporter function from the condition type associated with
condition. See also condition/report-string
.