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

Name Type Description Notes
code str Stable, machine-readable error code. Versioned and documented.
detail str Additional context where helpful (quota numbers, validation specifics, etc.). [optional]
doc_url str Link to documentation explaining this error and resolution steps. [optional]
message str Human-readable summary. Never contains internals. Suitable for direct display.
trace_id str Correlation ID from the request. Quote this in support requests.

Example

from revengai.models.error_body import ErrorBody

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

# convert the object into a dict
error_body_dict = error_body_instance.to_dict()
# create an instance of ErrorBody from a dict
error_body_from_dict = ErrorBody.from_dict(error_body_dict)

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