<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def generate_input_error_message(header, text):
 """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 """

    report = m.Message()
    report.add(LOGO_ELEMENT)
    report.add(m.Heading(header, **WARNING_STYLE))
    report.add(text)
    return report