<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _write_value_failed(self, dbus_error):
 """ Called when the write request has failed. """

        error = _error_from_dbus_error(dbus_error)
        self.service.device.characteristic_write_value_failed(characteristic=self, error=error)