Example #1
0
        private static WebCallResult GetResult(WebCallResult <CoinExApiResult <object> > result)
        {
            if (result.Error != null || result.Data == null)
            {
                return(result.AsDatalessError(result.Error ?? new UnknownError("No data received")));
            }

            return(result.AsDataless());
        }