[previous] [up] [next]     [index]
Next: Syntax Errors Up: Errors Previous: Application Type Errors

Application Mismatch Errors

(raise-mismatch-error name-symbol message-string v) creates an exn:application:mismatch value and raises it as an exception. The name-symbol is used as the source procedure's name in the error message. The message-string is the error message. The v argument is the improper argument received by the procedure. The printed form of v is appended to message-message (using the error value conversion handler; see section 9.4.1.9).



PLT