code: def generate_input_error_message(header, text):
      
      report = m.Message()
      report.add(LOGO_ELEMENT)
      report.add(m.Heading(header, **WARNING_STYLE))
      report.add(text)
      return report
docs: Generate an error message with a header and a text.
  
      :param header: The header of the message.
      :type header: basestring
  
      :param text: The text of the message.
      :type text: m.Paragraph
  
      :return: The error message ready to be displayed in the dock.
      :rtype: m.Message