Documentation throw/1
available from version beta

throw/1

Raise an exception.

Description

throw( +term )

throw(Exception) raise the Exception exception. The system looks for the innermost catch/3 ancestor for which Exception unifies with the Catcher argument of the catch/3 call. See catch/3 for details.

Implementation