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.
Name 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.
Name of the error catalog where the error message can be found. If
empty, this refers to catalog _errors.cat
.
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.
Optional
detailsAdditional details specific to that error. Not all errors provide this information.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stackStatic
capture
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