Package restkit :: Module errors :: Class ResourceError
[hide private]
[frames] | no frames]

Class ResourceError

source code

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              ResourceError
Known Subclasses:

default error class

Instance Methods [hide private]
 
__init__(self, msg=None, http_code=None, response=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_status_int__get(self)
The status as an integer
source code
 
_status_int__set(self, http_code) source code
 
_get_message(self) source code
 
_set_message(self, msg) source code
 
__str__(self)
str(x)
source code

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Class Variables [hide private]
  status_code = <Deprecated attribute status_code: <property obj...
Properties [hide private]
  status_int
The status as an integer
  message

Inherited from exceptions.BaseException: args

Inherited from object: __class__

Method Details [hide private]

__init__(self, msg=None, http_code=None, response=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

Class Variable Details [hide private]

status_code

Value:
<Deprecated attribute status_code: <property object at 0x100551628>>

Property Details [hide private]

status_int

The status as an integer

Get Method:
_status_int__get(self) - The status as an integer
Set Method:
_status_int__set(self, http_code)

message

Get Method:
_get_message(self)
Set Method:
_set_message(self, msg)