Ticket #5510 (closed feature request: wontfix)
Representation of GHC Errors
I propose to add a data representation of GHC's errors to the API. This would facilitate external machine-processing of error messages and allow for internationalization of error messages, if this is desirable.
I'm writing an error message parser, but it seems like exporting an ADT representation of the errors would be less error-prone.