DocumentAnalysisError Class

DocumentAnalysisError contains the details of the error returned by the service.

Inheritance
builtins.object
DocumentAnalysisError

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