Analytics.CustomEvent return calls

In order to sort my own mistakes from issues at the analytics service end I would like to start using the return calls I see mentioned in several places. However, I can not find any documentation and my own inexperience with C# has me stymied for the moment.

I would expect something like:

returnValue = Analytics.CustomEvent(“gameOver”, new Dictionary<string, object>
{
{ “potions”, totalPotions },
{ “coins”, totalCoins }
});

A returnValue of 0 would be everything is just hunky-dory and any other value would indicate a problem. But there seem to be two parts to a return value. I see an int value being mentioned like 500 and also an associated string with a more human understandable content.

Is returnValue supposed to be int and if so where do I pull the associated string info from?

Thanks in advance everyone.

Mr. Jigs

returnValue here is actually an enum, so an int under the hood, with a human readable name.