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:
NameTypeAttributesDefaultDescription
sModulePathString<optional>
""

The module path where the error occurred.

sMethodString<optional>
""

The method where the error occurred.

sDescriptionString<optional>
""

The error description.

Example

Throw an exception

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