DocumentAnalysisError Class
DocumentAnalysisError contains the details of the error returned by the service.
- Inheritance
-
builtins.objectDocumentAnalysisError
Constructor
DocumentAnalysisError(**kwargs: Any)
Methods
from_dict |
Converts a dict in the shape of a DocumentAnalysisError to the model itself. |
to_dict |
Returns a dict representation of DocumentAnalysisError. |
from_dict
Converts a dict in the shape of a DocumentAnalysisError to the model itself.
from_dict(data: Dict) -> DocumentAnalysisError
Parameters
Name | Description |
---|---|
data
Required
|
A dictionary in the shape of DocumentAnalysisError. |
Returns
Type | Description |
---|---|
DocumentAnalysisError |
to_dict
Returns a dict representation of DocumentAnalysisError.
to_dict() -> Dict
Returns
Type | Description |
---|---|
dict |
Attributes
code
Error code.
code: str
details
List of detailed errors.
details: List[DocumentAnalysisError] | None
innererror
Detailed error.
innererror: DocumentAnalysisInnerError | None
message
Error message.
message: str
target
Target of the error.
target: str | None
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python