Correct error handling for non-parser errors