docs: def _on_process_error(self, error):
          """ Logs process error """
          if self is None:
              return
          if error not in PROCESS_ERROR_STRING:
              error = -1
          if not self._prevent_logs:
              _logger().warning(PROCESS_ERROR_STRING[error])