ErrorDetails Class
- java.
lang. Object - com.
azure. developer. loadtesting. models. ErrorDetails
- com.
Implements
public final class ErrorDetails
implements JsonSerializable<ErrorDetails>
Error details if there is any failure in load test run.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Error |
fromJson(JsonReader jsonReader)
Reads an instance of Error |
| String |
getCode()
Get the code property: Error code if there is any failure in load test run. |
| String |
getMessage()
Get the message property: Error details in case test run was not successfully run. |
| Map<String,List<String>> |
getProperties()
Get the properties property: A dictionary for storing additional error information for better context. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ErrorDetails fromJson(JsonReader jsonReader)
Reads an instance of ErrorDetails from the JsonReader.
Parameters:
Returns:
Throws:
getCode
public String getCode()
Get the code property: Error code if there is any failure in load test run.
Returns:
getMessage
public String getMessage()
Get the message property: Error details in case test run was not successfully run.
Returns:
getProperties
public Map<String,List<String>> getProperties()
Get the properties property: A dictionary for storing additional error information for better context. Each key is a property name (e.g., "Description", "Resolution", "Category", "Region"), and its value is an array of strings with relevant details.
Returns: