pydispatch.errors | index

`Error types for dispatcher mechanism`

classes-decor heading-text">
Classes

classes-decor">

Exception(BaseException)
  DispatcherError
    DispatcherKeyError(KeyError, DispatcherError)
    DispatcherTypeError(TypeError, DispatcherError)
KeyError(LookupError)
  DispatcherKeyError(KeyError, DispatcherError)
TypeError(Exception)
  DispatcherTypeError(TypeError, 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

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) class method of Exception
  Create and return a new object. See help(type) for accurate signature.

Methods inherited from BaseException:

__getattribute__(self, name, /)
  Return getattr(self, name).

__reduce__(self, /)
  Helper for pickle.

__repr__(self, /)
  Return repr(self).

__setstate__(self, object, /)

__str__(self, /)
  Return str(self).

add_note(self, object, /)
  Exception.add_note(note) --
  add a note to the exception

with_traceback(self, object, /)
  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

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) class method of LookupError
  Create and return a new object. See help(type) for accurate signature.

Methods inherited from BaseException:

__getattribute__(self, name, /)
  Return getattr(self, name).

__reduce__(self, /)
  Helper for pickle.

__repr__(self, /)
  Return repr(self).

__setstate__(self, object, /)

add_note(self, object, /)
  Exception.add_note(note) --
  add a note to the exception

with_traceback(self, object, /)
  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

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) class method of TypeError
  Create and return a new object. See help(type) for accurate signature.

Methods inherited from BaseException:

__getattribute__(self, name, /)
  Return getattr(self, name).

__reduce__(self, /)
  Helper for pickle.

__repr__(self, /)
  Return repr(self).

__setstate__(self, object, /)

__str__(self, /)
  Return str(self).

add_note(self, object, /)
  Exception.add_note(note) --
  add a note to the exception

with_traceback(self, object, /)
  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