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