Next: traceback
Prev: rethrow
throw(error-code, explanation, [arg])This function throws an error in the method which called the current method. The interpreter will abort the current method and throw an error of type error-code in the calling method. The string explanation will appear in the traceback. If arg is specified, then it can be retrieved in an error handler by
error_arg().Examples:
throw(~perm, "Sender is not the system object.");