The details of an error
Properties:
Name
|
Type
|
Description
|
ErrorCode
|
ErrorCode enum
|
The error code
|
Description
|
string
|
A text description of the error
|
LogId
|
string
|
The incident Id as was logged on inwise systems
|
Java Code:
String errorMessage = errorDetails.getDescription();
ErrorCode errorCode = errorDetails.getCode();
String incident = errorDetails.getLogId();
C# Code:
//// a human readable description of the problem
String errorMessage = errorDetails.Description;
//// a fixed error code
ErrorCode errorCode = errorDetails.Code;
//// the current error id, not always has a value
String incident = errorDetails.LogId;
VB Code:
'''' a human readable description of the problem
Dim errorMessage As [String] = errorDetails.Description
'''' a fixed error code
Dim errorCode As ErrorCode = errorDetails.Code
'' the current error id, not always has a value
Dim incident As [String] = errorDetails.LogId