Added the ability to parse errors.