Add subheadings to "Understanding errors" docs