[boost] boost::proto, improving error handling