For syntax errors - the compiler error message.
traceback/TracebackException.msg
TracebackException.msg