Add custom exception and raise InvalidInputText when 'text' is boolean on parser