def _enable_notifications_failed(self, dbus_error):
if ((dbus_error.get_dbus_name() == '<STR_LIT>') and<EOL>((dbus_error.get_dbus_message() == "<STR_LIT>") or<EOL>(dbus_error.get_dbus_message() == "<STR_LIT>"))):<EOL><INDENT>return<EOL><DEDENT>error = _error_from_dbus_error(dbus_error)<EOL>self.service.device.characteristic_enable_notifications_failed(characteristic=self, error=error)<EOL>
Called when notification enabling has failed.