Error¶
Properties¶
Name |
Type |
Description |
Notes |
---|---|---|---|
code |
int |
Error code |
|
message |
str |
Error message |
Example¶
from graphscope.flex.rest.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)