arc:throw
Version 24.2.9039
Version 24.2.9039
arc:throw
Use the arc:throw keyword to raise an error (exception) from within a script.
Parameters
- code: A string value used to identify the source or meaning of the exception. This parameter is required.
- desc[ription]: An optional parameter that specifies a short message describing the error condition.
- details: An optional parameter that includes additional information that can be useful when diagnosing the error.
Control Attributes
None
Example
This example explicitly defines both an error code and description:
<arc:throw code="myerror" desc="thedescription" />