|
Synopsis
|
Parameters
Parameters |
Meaning |
err |
Return value from getLastError(). The parameter dyn_errClass returns the element of the LAST (!!) error that occurred. |
Return value
The return value may assume any of the following values: |
Value |
Meaning |
ERR_IMPL |
implementation error |
ERR_PARAM |
configuration error |
ERR_SYSTEM |
system error |
ERR_CONTROL |
Control runtime error |
ERR_REDUNDANCY |
redundancy error |
Errors
If no error had occurred |
Description
The value returned from the Control function getLastError() defines an error class that is composed of several attributes. From this, the error type can be filtered out, for example, with getErrorType(). |
|
main()
{ dyn_errClass err; int retErr; err = getLastError(); //get the error if(dynlen(err) > 0) { retErr = getErrorType(err); //get the error type errorDialog(err); //show the error DebugN(retErr); } else { DebugN("OK"); // No error } } |
Member of
Errors |
Availability
UI, CTRL |
See also
getErrorCode(), getErrorDpName(), getErrorManId(), getErrorPriority(), getErrorUserId(), getLastError(), Error handling, getErrorText() |
V 3.11 SP1
Copyright ETM professional control GmbH 2013 All Rights Reserved