Add basic error parsing