ModelRouterAttemptError Class
- java.
lang. Object - com.
azure. ai. agents. models. ModelRouterAttemptError
- com.
Implements
public final class ModelRouterAttemptError
implements JsonSerializable<ModelRouterAttemptError>
Error details returned by a model routing attempt.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Model |
fromJson(JsonReader jsonReader)
Reads an instance of Model |
| String |
getCode()
Get the code property: A service-defined error code. |
| String |
getMessage()
Get the message property: A human-readable description of the error. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ModelRouterAttemptError fromJson(JsonReader jsonReader)
Reads an instance of ModelRouterAttemptError from the JsonReader.
Parameters:
Returns:
Throws:
getCode
public String getCode()
Get the code property: A service-defined error code.
Returns:
getMessage
public String getMessage()
Get the message property: A human-readable description of the error.
Returns: