Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1 KB

Error.md

File metadata and controls

32 lines (23 loc) · 1 KB

Error

Properties

Name Type Description Notes
message str Error description [optional]
status_code int Target page response HTTP status code (403, 500, etc) [optional]
status_message str Target page response HTTP status message [optional]
body str Target page response body [optional]

Example

from webscraping_ai.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_form_dict = error.from_dict(error_dict)

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