pydispatch.errors
index

Error types for dispatcher mechanism

classes-decor heading-text">
 
Classes
classes-decor">       
Exception(BaseException)
DispatcherError

 
class DispatcherError(Exception)
    Base class for all Dispatcher errors
 
 
Method resolution order:
DispatcherError
Exception
BaseException
object

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Methods inherited from Exception:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Static methods inherited from Exception:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
Helper for pickle.
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
add_note(...)
Exception.add_note(note) --
add a note to the exception
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args

 
class DispatcherKeyError(KeyError, DispatcherError)
    Error raised when unknown (sender,signal) set specified
 
 
Method resolution order:
DispatcherKeyError
KeyError
LookupError
DispatcherError
Exception
BaseException
object

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Methods inherited from KeyError:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__str__(self, /)
Return str(self).

Static methods inherited from LookupError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
Helper for pickle.
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
add_note(...)
Exception.add_note(note) --
add a note to the exception
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args

 
class DispatcherTypeError(TypeError, DispatcherError)
    Error raised when inappropriate signal-type specified (None)
 
 
Method resolution order:
DispatcherTypeError
TypeError
DispatcherError
Exception
BaseException
object

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Methods inherited from TypeError:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Static methods inherited from TypeError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
Helper for pickle.
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
add_note(...)
Exception.add_note(note) --
add a note to the exception
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args