Error analysis for radiation transport