dbus.exceptions module

D-Bus exceptions.

exception dbus.exceptions.DBusException(*args, **kwargs)

Bases: exceptions.Exception

get_dbus_message()
get_dbus_name()
include_traceback = False

If True, tracebacks will be included in the exception message sent to D-Bus clients.

Exceptions that are not DBusException subclasses always behave as though this is True. Set this to True on DBusException subclasses that represent a programming error, and leave it False on subclasses that represent an expected failure condition (e.g. a network server not responding).

exception dbus.exceptions.MissingErrorHandlerException

Bases: dbus.exceptions.DBusException

include_traceback = True
exception dbus.exceptions.MissingReplyHandlerException

Bases: dbus.exceptions.DBusException

include_traceback = True
exception dbus.exceptions.ValidationException(msg='')

Bases: dbus.exceptions.DBusException

include_traceback = True
exception dbus.exceptions.IntrospectionParserException(msg='')

Bases: dbus.exceptions.DBusException

include_traceback = True
exception dbus.exceptions.UnknownMethodException(method)

Bases: dbus.exceptions.DBusException

include_traceback = True
exception dbus.exceptions.NameExistsException(name)

Bases: dbus.exceptions.DBusException

include_traceback = True