Improved rendering of error messages for parsing functions.