signal

Name

signal -- Signal a condition

Type: function

Synopsis

signal( condition, object ...);

signal( message arg, object ...);

Arguments

condition

A condition object (an instance of <condition>).

format-string

An instance of <string>.

Return Values

object

An object.

Description

This function submits a condition object to the exception handling system for delivery. The appropriate exception handler is invoked to handle the condition.

In the interactive environment, the default condition handler supplied by the read-eval-print loop will catch any condition not otherwise caught and create a "break" loop.

If the recovery protocol of the condition permits returning, and a handler returns, then the values it returns are returned from the call to signal. See also error if no recovery is permitted.

The second form of the function is a convenient interface to creating instances of <simple-warning> with the given message and arguments.