Platform SDK: Agent

RaiseRequestErrors Property

Description
Returns or sets whether errors for requests are raised.
Syntax
agent.RaiseRequestErrors [ = boolean]
Part Description
boolean A Boolean value that determines whether errors in requests are raised.

True    (Default) Request errors are raised.

False     Request errors are not raised.

Remarks

This property enables you to determine whether the server raises errors that occur with methods that support Request objects. For example, if you specify an animation name that does not exist in a Play method, the server raises an error (displaying the error message) unless you set this property to False.

It may be useful for programming languages that do not provide recovery when an error is raised. However, use care when setting this property to False, because it might be harder to find errors in your code.