Next: srfi comparators copyright, Previous: srfi comparators misc, Up: srfi comparators [Index]
As Vicare extension the following condition objects are defined.
Used to signal an error while using a comparator’s facilities. It is
derived from &error.
Build and return a new condition object of type
&comparator-error.
Return #t if obj is a condition object of type
&comparator-error; otherwise return #f.
Used to signal an attempt to use an unsupported operation. It is
derived from &comparator-ertor.
It has the following fields:
comparatorThe comparator that does not support the operation.
Build and return a new condition object of type
&unsupported-comparator-operation-error.
Return #t if obj is a condition object of type
&unsupported-comparator-operation-error; otherwise return
#f.
Accessor for the field of condition objects of type
&unsupported-comparator-operation-error.
Raise a non–continuable exception with compound condition object of
types: &who, &message,
&unsupported-comparator-operation-error,
&irritants.
Used to signal an attempt to use the facilities of a comparator with an
object that does not satisfy the comparator’s type predicate. It is
derived from &comparator-error. It has two fields:
comparatorThe comparator object.
objectsList of objects with which the comparator was used.
Build and return a new condition object of type
&comparator-type-error.
Return #t if obj is a condition object of type
&comparator-type-error; otherwise return #f.
Accessors for the fields of condition objects of type
&comparator-type-error.
Raise a non–continuable exception with compound condition object of
types: &who, &message,
&comparator-type-error, &irritants.
Raise a non–continuable exception with compound condition object of
types: &who, &message,
&comparator-type-error, &irritants,
&procedure-argument-violation.
Used to signal an invalid comparison in which one of the operands is
+nan.0. It is derived from &comparator-error.
It has the following fields:
comparatorThe comparator object that was used for the comparison.
Build and return a new condition object of type
&comparator-nan-comparison-error.
Return #t if obj is a condition object of type
&comparator-nan-comparison-error; otherwise return #f.
Accessor for the field of condition objects of type
&comparator-nan-comparison-error.
Raise a non–continuable exception with compound condition object of
types: &who, &message, &irritants,
&comparator-nan-comparison-error.
Used to signal that a non-false epsilon argument was used with a
symbolic rounding argument in the call to
make-inexact-real-comparator: in this case epsilon is
ignored.
It has the following fields:
epsilonThe epsilon argument.
roundingThe rounding argument. A symbol among: floor,
ceiling, truncate, round.
Build and return a condition object of type
&inexact-real-comparator-with-ignored-epsilon. It is derived
from &warning.
Return #t if obj is a condition object of type
&inexact-real-comparator-with-ignored-epsilon; otherwise
return #f.
Field accessors for condition object of type
&inexact-real-comparator-with-ignored-epsilon.
Used to signal errors raised by comparators returned by
make-debug-comparator. It is derived from
&comparator-error.
It has the following fields:
debug-comparatorThe debug comparator that raised the error.
comparatorThe comparator that violated the requirements.
Build and return a new condition object of type
&comparator-debug-error.
Return #t if obj is a condition object of type
&comparator-debug-error; otherwise return #f.
Accessors for the fields of &comparator-debug-error.
Raise a non–continuable exception with compound condition object of
types: &who, &message,
&comparator-debug-error, &irritants.
Next: srfi comparators copyright, Previous: srfi comparators misc, Up: srfi comparators [Index]