Making errors more informative