Example #1
0
 def ThrowsError(self):
     raise DBusError('test.error', 'something went wrong')
Example #2
0
 def throws_dbus_error(self):
     assert type(self) is AsyncInterface
     raise DBusError('test.error', 'an error ocurred')
Example #3
0
 def ErrorThrowingProperty(self, val: 's'):
     raise DBusError(self.error_name, self.error_text)
Example #4
0
 def ErrorThrowingProperty(self) -> 's':
     raise DBusError(self.error_name, self.error_text)
Example #5
0
 def throws_error(self, val: 's'):
     raise DBusError('test.error', 'told you so')
Example #6
0
 def throws_error(self) -> 's':
     raise DBusError('test.error', 'told you so')