| ErrorExtendedErrors Property |
[This is preliminary documentation and is subject to change.]
Controls whether the extended error mechanism is used. Defaults to True.
Extended errors are errors derived from checks across the API to ensure
a valid state. Although many of these checks are already present in the
original/official COM interface, the checks do not produce any error
message. An error value can be returned by a function but this value
can, for many of the functions, be a valid value. As such, the user
has no means to detect an invalid API call.
Extended errors use the Error interface to provide a more clear message
and should help users, especially new users, to find usage issues earlier.
At Python level, an exception is raised when an error is detected through
the Error interface.
The current default state is ON. For compatibility, the user can turn it
off to restore the previous behavior.
(API Extension)
Namespace:
dss_sharp
Assembly:
dss_sharp (in dss_sharp.dll) Version: 1.0.0
Syntax public bool ExtendedErrors { get; set; }
Public Property ExtendedErrors As Boolean
Get
Set
public:
property bool ExtendedErrors {
bool get ();
void set (bool value);
}
member ExtendedErrors : bool with get, set
function get_ExtendedErrors();
function set_ExtendedErrors(value);
Property Value
Type:
BooleanSee Also