Skip to content

Latest commit

History

History
33 lines (24 loc) · 1.26 KB

File metadata and controls

33 lines (24 loc) · 1.26 KB

ErrorBody

Properties

NameTypeDescriptionNotes
codestrStable, machine-readable error code. Versioned and documented.
detailstrAdditional context where helpful (quota numbers, validation specifics, etc.).[optional]
doc_urlstrLink to documentation explaining this error and resolution steps.[optional]
messagestrHuman-readable summary. Never contains internals. Suitable for direct display.
trace_idstrCorrelation ID from the request. Quote this in support requests.

Example

fromrevengai.models.error_bodyimportErrorBody# TODO update the JSON string belowjson="{}"# create an instance of ErrorBody from a JSON stringerror_body_instance=ErrorBody.from_json(json)
# print the JSON string representation of the objectprint(ErrorBody.to_json())
# convert the object into a dicterror_body_dict=error_body_instance.to_dict()
# create an instance of ErrorBody from a dicterror_body_from_dict=ErrorBody.from_dict(error_body_dict)

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