Difference between revisions of "MC-Basic:THROW"
m (Text replace - "Axystems:" to "") |
|||
Line 36: | Line 36: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[MC-Basic: | + | * [[MC-Basic:COMMON_or_DIM_SHARED_var_name_AS_NOTE_or_ERROR_ascii_number|COMMON or DIM SHARED var name AS NOTE or ERROR ascii <NUMBER>]] |
[[Category:MC-Basic:Error Handling|THROW]] | [[Category:MC-Basic:Error Handling|THROW]] | ||
}} | }} |
Revision as of 10:44, 22 May 2014
Assert an application exception. Error name is the user-defined exception name. If error name is not specified, last error occurring in the task will be asserted.
Syntax
Throw {<error name>}
Availability
All versions
Scope
Task or Terminal
Limitations
Only the exception name is accepted as the argument.
Examples
Throw myerror
Throw