models.error_proto module

class models.error_proto.ErrorProto(error_msg=None, mtype=None)[source]

Bases: object

Implementation of the ‘ErrorProto’ model.

TODO: type model description here.

Attributes:

error_msg (string): An optional detail. mtype (int): 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.