RunError Class
- java.
lang. Object - com.
azure. ai. agents. persistent. models. RunError
- com.
Implements
public final class RunError
implements JsonSerializable<RunError>
The details of an error as encountered by an agent thread run.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Run |
fromJson(JsonReader jsonReader)
Reads an instance of Run |
| String |
getCode()
Get the code property: The status for the error. |
| String |
getMessage()
Get the message property: The human-readable text associated with the error. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static RunError fromJson(JsonReader jsonReader)
Reads an instance of RunError from the JsonReader.
Parameters:
Returns:
Throws:
getCode
public String getCode()
Get the code property: The status for the error.
Returns:
getMessage
public String getMessage()
Get the message property: The human-readable text associated with the error.
Returns: