Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.13 KB

AiErrorData.md

File metadata and controls

31 lines (23 loc) · 1.13 KB

AiErrorData

A field-scoped validation error: which form field was rejected, and why.

Properties

Name Type Description Notes
var_field str The rejected field.
message str The human-readable reason the field was rejected.
code AiErrorCode Optional: producers that know the reason set it (the prompts engine does). [optional]

Example

from docspace_api_sdk.models.ai_error_data import AiErrorData

# TODO update the JSON string below
json = "{}"
# create an instance of AiErrorData from a JSON string
ai_error_data_instance = AiErrorData.from_json(json)
# print the JSON string representation of the object
print(AiErrorData.to_json())

# convert the object into a dict
ai_error_data_dict = ai_error_data_instance.to_dict()
# create an instance of AiErrorData from a dict
ai_error_data_from_dict = AiErrorData.from_dict(ai_error_data_dict)

[Back to Model list] [Back to API list] [Back to README]