Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.08 KB

File metadata and controls

33 lines (24 loc) · 1.08 KB

Error

Properties

Name Type Description Notes
type str Closed vocabulary - see docs/adr/0003-error-model.md.
message str
request_id str UnifAPI request id, e.g. `unif_<id>`. Source ids are not exposed. [optional]
issues List[object] Present only when type=validation_error. [optional]
billing ErrorBilling [optional]

Example

from unifapi.models.error import Error

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

# convert the object into a dict
error_dict = error_instance.to_dict()
# create an instance of Error from a dict
error_from_dict = Error.from_dict(error_dict)

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