Aborting the parser when error is encountered