Expose parser error events to the user.