../pvss.htm menu.gif basics.gif

getErrorCode()

Returns the error code from the error class from getLastError().

Synopsis

int getErrorCode(errClass err | dyn_errClass err);

Parameters

Return value

The function returns the code of the error in question.

Errors

If there were no errors.

Description

The value returned from the Control function getLastError() defines an error class that is composed of several attributes. From this, the code can be filtered out, for example, with getErrorCode(). The possible error messages can be found in the file <wincc_oa_path>/msg/<lang>/_errors.cat.

IconExample

Member of

Errors

Availability

UI, CTRL

See also

Top Of Page

 

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved