A datalink error ("fault", as it's called in the spec).
* AuthenticationFault -- Not authenticated (and authentication
required) * AuthorizationFault -- Not authorized (to access the resource)
* NotFoundFault -- Unknown ID value * UsageFault -- Invalid input (e.g.
no ID values) * TransientFault -- Service is not currently able to
function * FatalFault -- Service cannot perform requested action * Fault
-- General error (not covered above)
all of which take the pubDID that caused the failure and a
human-oriented error message.
|
__init__(self,
code,
pubDID,
message,
exceptionClass,
semantics,
description=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
asDict(self)
returns an error row for the datalink response. |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
AuthenticationFault(inner,
pubDID,
message,
semantics=' http://dc.g-vo.org/datalink#other ' ,
description=None) |
source code
|
|
|
AuthorizationFault(inner,
pubDID,
message,
semantics=' http://dc.g-vo.org/datalink#other ' ,
description=None) |
source code
|
|
|
FatalFault(inner,
pubDID,
message,
semantics=' http://dc.g-vo.org/datalink#other ' ,
description=None) |
source code
|
|
|
Fault(inner,
pubDID,
message,
semantics=' http://dc.g-vo.org/datalink#other ' ,
description=None) |
source code
|
|
|
NotFoundFault(inner,
pubDID,
message,
semantics=' http://dc.g-vo.org/datalink#other ' ,
description=None) |
source code
|
|
|
TransientFault(inner,
pubDID,
message,
semantics=' http://dc.g-vo.org/datalink#other ' ,
description=None) |
source code
|
|
|
UsageFault(inner,
pubDID,
message,
semantics=' http://dc.g-vo.org/datalink#other ' ,
description=None) |
source code
|
|