public void OnFailure(int errorCode, string errorMessage, Bundle optionalData)
{
// If we have a cached result, return that
string gamerUuid = string.Empty;
try
{
// Parse gamerUuid from file
gamerUuid = FromCache();
}
catch (Exception e)
{
OuyaFacade.Log("Error decaching gamerUuid: " + e.Message);
_tcs.SetException(new OuyaRequestException(errorCode, errorMessage, optionalData));
}
_tcs.SetResult(gamerUuid);
}