error reporting parser