models.request_error module¶
-
class
models.request_error.
RequestError
(error_code=None, message=None)[source]¶ Bases:
object
Implementation of the ‘RequestError’ model.
Details about the Error.
- Attributes:
error_code (long|int): Operation response error code. message (string): Description of the error.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.