Explain why errors gets recast to dict