[syntax] define-condition-type condition-type supertype predicate (field accessor) ...

SRFI-35: Defines a condition type. The variable condition-type is bound to a new condition type (see make-condition-type), with supertype supertype, which must be the name of previously defined condition type.

The variable predicate is bound to the predicate procedure which is effectively equivalent to (lambda (obj) (condition-has-type? obj condition-type)).

The created condition type has fields given as field .... Each accessor is bound to a procedure that extracts the field name, i.e. (lambda (obj) (condition-ref obj ' field)).