citrine.resources.api_error module
- class citrine.resources.api_error.ApiError
Bases:
Serializable
[ApiError
]The engineering API root level error model.
- classmethod build(data: dict) Self
Build an instance of this object from given data.
- dump() dict
Dump this instance.
- has_failure(failure_id: str) bool
Checks if this error contains a ValidationError with specified failure ID.
- code = None
- message = None
- validation_errors = None
- class citrine.resources.api_error.ValidationError
Bases:
Serializable
[ValidationError
]A user-facing error message describing why their request was invalid.
- classmethod build(data: dict) Self
Build an instance of this object from given data.
- dump() dict
Dump this instance.
- failure_id = None
- failure_message = None
- input = None
- property = None