blob: 0140dc47e829902b6281f0c92c6ec633e85b4e0c [file] [log] [blame]
SYNOPSIS
void throw(mixed arg)
DESCRIPTION
Abort execution. If the current program execution was
initiated by catch(), that catch expression will
return arg as error code.
Calling throw() without previous catch() does not make sense
and will result in an ``throw without catch'' error.
EXAMPLES
catch(throw("aborting execution"));
This will just print the string "aborting execution".
SEE ALSO
catch(E), raise_error(E)