The Method GetErrorInformation is used to get the error information based on the input identifier. The details returned from the joining system is application specific.
Examples: Log file, Detailed Error Information or Event Logs, or an actual file or reference to some other entity in the system.
The signature of this Method is specified below. Table 88 and Table 89 specify the Arguments and AddressSpace representation, respectively.
Signature
GetErrorInformation (
[in]0:String productInstanceUri,
[in]0:TrimmedString errorId,
[out]0:BaseDataType errorContent,
[out]0:Int64 status,
[out]0:LocalizedText statusMessage)
Table 88 – GetErrorInformation Method Arguments
Argument |
Description |
productInstanceUri |
With this argument the Client can provide the identifier of the asset on which this method is applicable. It can be empty if the method is modelled directly under the required asset. If it is empty, the system can consider the identifier of the asset where the Server is running. |
errorId |
It is the identifier of the error. It could be available as part of the JoiningResult. It is a mandatory input argument. |
errorContent |
It is the detailed error information. Examples: Log file, Detailed Error Information or Event Logs, etc. |
status |
It provides the status of the Method execution. Refer 7.2.3 for details. |
statusMessage |
It provides the high-level status information in a user-friendly text. |
Table 89 – GetErrorInformation Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
GetErrorInformation |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
0:HasProperty |
Variable |
0:InputArguments |
0:Argument[] |
0:PropertyType |
0:Mandatory |
0:HasProperty |
Variable |
0:OutputArguments |
0:Argument[] |
0:PropertyType |
0:Mandatory |