Error handling and single parser instance