FormRecognizerError Class
Represents an error that occurred while training.
New in version v2.1: Support for to_dict and from_dict methods
- Inheritance
-
builtins.objectFormRecognizerError
Constructor
FormRecognizerError(**kwargs: Any)
Methods
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.
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.
to_dict() -> Dict
Returns
Type | Description |
---|---|
dict |
Attributes
code
Error code.
code: str
message
Error message.
message: str
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Python