include errors in the @lines array, make a format for errors