ThrowError
Communications Manager Core forces an error.
The command ThrowError puts Communications Manager Core in the error state. The current request terminates unless an earlier OnError command has defined an error handler.
You can use the command ThrowError at the end of an error handler to report the final error after cleanup.
Syntax
ThrowError
Message(<text>);
The Message is logged by Communications Manager Core as an informational message. The command ThrowError is not logged as an error.
Parameters
Message: Required. The message is sent back to a synchronous client. If this parameter is not specified, Communications Manager Core sends back the last real error message.