Truncation error analysis in turbulent boundary layers