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." );