VectorStoreFileError Class
- java.
lang. Object - com.
azure. ai. agents. persistent. models. VectorStoreFileError
- com.
Implements
public final class VectorStoreFileError
implements JsonSerializable<VectorStoreFileError>
Details on the error that may have occurred while processing a file for this vector store.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Vector |
fromJson(JsonReader jsonReader)
Reads an instance of Vector |
|
Vector |
getCode()
Get the code property: One of `server_error` or `rate_limit_exceeded`. |
| 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 VectorStoreFileError fromJson(JsonReader jsonReader)
Reads an instance of VectorStoreFileError from the JsonReader.
Parameters:
Returns:
Throws:
getCode
public VectorStoreFileErrorCode getCode()
Get the code property: One of `server_error` or `rate_limit_exceeded`.
Returns:
getMessage
public String getMessage()
Get the message property: A human-readable description of the error.
Returns: