def is_newline_error(e):
    """
    Return True is e is a new line error based on the error text.
    Otherwise return False.
    """
    newline_error = (
        u'new-line character seen in unquoted field - do you need to open the file in universal-newline mode?'
        )
    return newline_error == str(e)
