IDslCompilerContextError Method

Throw an exception with custom error message.

Definition

Namespace: Casewhere.Runtime.DSL.CompilerContext
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
C#
void Error(
	string message,
	bool showErrorMessage = false,
	Exception ex = null
)

Parameters

message  String
The error message
showErrorMessage  Boolean  (Optional)
Determines whether Casewhere should show the custom error message or not.
ex  Exception  (Optional)
The exception

See Also