FormRecognizerError Class
Represents an error that occurred while training.
New in version v2.1: Support for to_dict and from_dict methods
Constructor
Python
FormRecognizerError(**kwargs: Any)
from_dict |
Converts a dict in the shape of a FormRecognizerError to the model itself. |
to_dict |
Returns a dict representation of FormRecognizerError. |
from_dict
Converts a dict in the shape of a FormRecognizerError to the model itself.
Python
from_dict(data: Dict) -> FormRecognizerError
Parameters
Name | Description |
---|---|
data
Required
|
A dictionary in the shape of FormRecognizerError. |
Returns
Type | Description |
---|---|
FormRecognizerError |
to_dict
Returns a dict representation of FormRecognizerError.
Python
to_dict() -> Dict
Returns
Type | Description |
---|---|
dict |
code
Error code.
Python
code: str
message
Error message.
Python
message: str
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 feedback
Azure SDK for Python is an open source project. Select a link to provide feedback: