protected Exception CreateErrorResult(HttpContent errors) { //var errorText = errors.Count == 0 ? "Unknown error" : ("- " + string.Join("\n- ", errors.Select(item => item.LongMessage))); return new Exception(errors.ToString()); }