code: def send_error_message(sender, error_message):
      
      dispatcher.send(
          signal=ERROR_MESSAGE_SIGNAL,
          sender=sender,
          message=error_message)
docs: Send an error message to the listeners.
  
      Error messages represents and error. It usually replace the previous
      message since an error has been happened.
  
      .. versionadded:: 3.3
  
      :param sender: The sender.
      :type sender: object
  
      :param error_message: An instance of our rich error message class.
      :type error_message: ErrorMessage