Constructor. This constructor is also used by the WinccoaManager to create WinccoaError instances.
WincCC OA error code. This can either be a number (like 71 for "DP does not exist") or a string. The meaning of string error codes can be found in the corresponding catalog.
Error message corresponding to code.
Optional
catalog: stringName of the error catalog where the error message can be found. If
empty, this refers to catalog _errors.cat
.
Optional
details: unknownAdditional details specific to that error. Not all errors provide this information.
Optional
priority: numberOptional priority.
Optional
errorType: numberOptional errorType.
Optional
dpe: stringOptional data point.
Optional
userId: numberOptional userId.
Optional
errorTime: WinccoaTimeOptional time when error occured in milliseconds since 1.1.1970.
Constructor. This constructor is also used by the WinccoaManager to create WinccoaError instances. The code member will be set to MULTIPLE_ERRORS_CODE and Error.message contains at most 10 errors ordered by importance. An error is important if the priority is <= WinccoaErrorPriority.Severe (see WinccoaErrorPriority).
Array of WincCC OA errors which are in the details member.
Optional
detailsOptional
dpeOptional
errorOptional
errorOptional
priorityOptional
userStatic
Readonly
MULTIPLE_Code for multiple errors in details. details is in that case an array of WinccoaError instances.
Error class that contains additional information found in WinCC OA errors, like the WinCC OA error code.
Example: Getting error details - TypeScript
Example: Getting error details - JavaScript