Added error method to IParserListener

Signed-off-by: George Araujo <ext-george.araujo@microsoft.com>