Scriptable Reports

scriptableReportError

When thrown, this exception will be caught at the top level and displayed in a dialog.

Constructor

new scriptableReportError(sModulePathopt, sMethodopt, sDescriptionopt)

Scriptable Report Error
Parameters:
Name Type Attributes Default Description
sModulePath String <optional>
"" The module path where the error occurred.
sMethod String <optional>
"" The method where the error occurred.
sDescription String <optional>
"" The error description.
Example

Throw an exception

throw new scriptableReportError( "ModuleName", "MethodName", "Something went wrong." );