arvados :: errors :: KeepRequestError :: Class KeepRequestError
[hide private]
[frames] | no frames]

Class KeepRequestError

source code

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              KeepRequestError

Base class for errors accessing Keep services.

Instance Methods [hide private]
 
__init__(message='', request_errors=(), label="")
:message: A human-readable message describing what Keep operation failed.
source code
 
_format_error(self, key, error) source code
OrderedDict
request_errors()
The keys of the dictionary are described by `self.label` The corresponding value is the exception raised when sending the request to it.
source code

Inherited from exceptions.Exception: __new__

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

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

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(message='', request_errors=(), label="")
(Constructor)

source code 
:message:
  A human-readable message describing what Keep operation
  failed.

:request_errors:
  An iterable that yields 2-tuples of keys (where the key refers to
  some operation that was attempted) to the error encountered when
  talking to it--either an exception, or an HTTP response object.
  These will be packed into an OrderedDict, available through the
  request_errors() method.

:label:
  A label indicating the type of value in the 'key' position of request_errors.

Overrides: object.__init__