DocumentIntelligenceInnerError Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. DocumentIntelligenceInnerError
- com.
Implements
public final class DocumentIntelligenceInnerError
implements JsonSerializable<DocumentIntelligenceInnerError>
An object containing more specific information about the error.
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. |
Document |
getInnerError()
Get the inner |
String |
getMessage()
Get the message property: A human-readable representation of the error. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DocumentIntelligenceInnerError fromJson(JsonReader jsonReader)
Reads an instance of DocumentIntelligenceInnerError from the JsonReader.
Parameters:
Returns:
Throws:
getCode
public String getCode()
Get the code property: One of a server-defined set of error codes.
Returns:
getInnerError
public DocumentIntelligenceInnerError getInnerError()
Get the innerError property: Inner error.
Returns:
getMessage
public String getMessage()
Get the message property: A human-readable representation of the error.
Returns:
toJson
Applies to
Azure SDK for Java