ApiError Class
- java.
lang. Object - com.
azure. ai. agents. models. ApiError
- com.
Implements
public final class ApiError
implements JsonSerializable<ApiError>
The ApiError model.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Api |
fromJson(JsonReader jsonReader)
Reads an instance of Api |
|
Map<String,Binary |
getAdditionalInfo()
Get the additional |
| String |
getCode()
Get the code property: The code property. |
|
Map<String,Binary |
getDebugInfo()
Get the debug |
|
List<Api |
getDetails()
Get the details property: Additional errors that contributed to this failure. |
| String |
getMessage()
Get the message property: The message property. |
| com.openai.models.ErrorObject.Misalignment |
getMisalignment()
Get the misalignment property: The misalignment property. |
| String |
getParam()
Get the param property: The param property. |
| String |
getType()
Get the type property: The type property. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ApiError fromJson(JsonReader jsonReader)
Reads an instance of ApiError from the JsonReader.
Parameters:
Returns:
Throws:
getAdditionalInfo
public Map<String,BinaryData> getAdditionalInfo()
Get the additionalInfo property: Additional structured information about the failure.
Returns:
getCode
public String getCode()
Get the code property: The code property.
Returns:
getDebugInfo
public Map<String,BinaryData> getDebugInfo()
Get the debugInfo property: Diagnostic information supplied by the service for troubleshooting.
Returns:
getDetails
public List<ApiError> getDetails()
Get the details property: Additional errors that contributed to this failure.
Returns:
getMessage
public String getMessage()
Get the message property: The message property.
Returns:
getMisalignment
public ErrorObject.Misalignment getMisalignment()
Get the misalignment property: The misalignment property.
Returns:
getParam
public String getParam()
Get the param property: The param property.
Returns:
getType
public String getType()
Get the type property: The type property.
Returns: