def ThrowsError(self): raise DBusError('test.error', 'something went wrong')
def throws_dbus_error(self): assert type(self) is AsyncInterface raise DBusError('test.error', 'an error ocurred')
def ErrorThrowingProperty(self, val: 's'): raise DBusError(self.error_name, self.error_text)
def ErrorThrowingProperty(self) -> 's': raise DBusError(self.error_name, self.error_text)
def throws_error(self, val: 's'): raise DBusError('test.error', 'told you so')
def throws_error(self) -> 's': raise DBusError('test.error', 'told you so')