[Moose-dev] Handling error with PetitParser