Next: Application Mismatch Errors Up: Errors Previous: Errors

## Application Type Errors

`(raise-type-error name-symbol expected-string v)` creates an `exn:application:type` value and `raise`s it as an exception. The name-symbol argument is used as the source procedure's name in the error message. The expected-string argument is used as a description of the the expected type, and v is the value received by the procedure that does not have the expected type.