Add error doc to planning tree