Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.57 KB

UserError.md

File metadata and controls

34 lines (25 loc) · 1.57 KB

UserError

Properties

Name Type Description Notes
error str Human-readable explanation of what was wrong with the request. Show it to the user or log it; do not parse it, because the wording can change.
error_id str Always `UserError`: the request itself was invalid. Fix the request before retrying; sending it again unchanged fails the same way.
var_field str Name of the request field that was rejected, when the error is about one field. [optional]
validator str Validator that rejected the field. [optional]
project_ids List[str] Projects still using this resource, when the error is a usage conflict. [optional]
missing_fw_assets List[str] Firmware asset URLs required by the target firmware but absent from the domain, when field is 'firmware_asset'. [optional]

Example

from corellium.models.user_error import UserError

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

# convert the object into a dict
user_error_dict = user_error_instance.to_dict()
# create an instance of UserError from a dict
user_error_from_dict = UserError.from_dict(user_error_dict)

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