DocumentIntelligenceError Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. DocumentIntelligenceError
- com.
Implements
public final class DocumentIntelligenceError
implements JsonSerializable<DocumentIntelligenceError>
The error object.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
String |
getCode()
Get the code property: One of a server-defined set of error codes. |
List<Document |
getDetails()
Get the details property: An array of details about specific errors that led to this reported error. |
Document |
getInnerError()
Get the inner |
String |
getMessage()
Get the message property: A human-readable representation of the error. |
String |
getTarget()
Get the target property: The target of the error. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DocumentIntelligenceError fromJson(JsonReader jsonReader)
Reads an instance of DocumentIntelligenceError from the JsonReader.
Parameters:
Returns:
Throws:
getCode
public String getCode()
Get the code property: One of a server-defined set of error codes.
Returns:
getDetails
public List
Get the details property: An array of details about specific errors that led to this reported error.
Returns:
getInnerError
public DocumentIntelligenceInnerError getInnerError()
Get the innerError property: An object containing more specific information than the current object about the error.
Returns:
getMessage
public String getMessage()
Get the message property: A human-readable representation of the error.
Returns:
getTarget
public String getTarget()
Get the target property: The target of the error.
Returns:
toJson
Applies to
Azure SDK for Java