Next: , Previous: , Up: iklib conditions   [Index]


6.12.11 Procedure argument violations

Condition Type: &procedure-argument-violation

Condition object type representing, generically, one or more invalid values handed as arguments to a procedure application; it is derived from &procedure-precondition-violation.

Function: make-procedure-argument-violation

Build and return a new condition object of type &procedure-argument-violation.

Function: procedure-argument-violation? obj

Return #t if obj is a condition object of type &procedure-argument-violation; otherwise return #f.

Function: procedure-argument-violation who message irritant

Raise a compound condition object as non–continuable exception with component types: &who, &message, &irritants, &procedure-argument-violation.