Package acis_xmlrpc :: Module responses :: Class ACISErrorResponse
[hide private]
[frames] | no frames]

Class ACISErrorResponse

source code

  object --+    
           |    
ACISResponse --+
               |
              ACISErrorResponse

Accepts exceptions and returns error messages. Acts as a wrapper to delivering exceptions.

Instance Methods [hide private]
 
__init__(self, exc)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code
 
as_json(self) source code
 
as_string(self) source code

Inherited from ACISResponse: as_format

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Class Variables [hide private]
  error_code = 400
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, exc)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Parameters:
  • exc (Exception) - The exception instance.
Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 
str(x)
Overrides: object.__str__
(inherited documentation)