1 type derived from RestApiException
Microsoft.DotNet.Helix.Client (1)
generated-code\HelixApi.cs (1)
368
public partial class RestApiException<T> :
RestApiException
66 references to RestApiException
Microsoft.DotNet.Helix.Client (60)
generated-code\Aggregate.cs (12)
129
partial void HandleFailedRequest(
RestApiException
ex);
131
partial void HandleFailedAnalysisSummaryRequest(
RestApiException
ex);
261
partial void HandleFailedBuildHistoryRequest(
RestApiException
ex);
356
partial void HandleFailedBuildRequest(
RestApiException
ex);
461
partial void HandleFailedJobSummaryRequest(
RestApiException
ex);
573
partial void HandleFailedWorkItemSummaryRequest(
RestApiException
ex);
680
partial void HandleFailedAnalysisDetailRequest(
RestApiException
ex);
822
partial void HandleFailedPropertiesRequest(
RestApiException
ex);
916
partial void HandleFailedInvestigation_ContinueRequest(
RestApiException
ex);
991
partial void HandleFailedInvestigationRequest(
RestApiException
ex);
1108
partial void HandleFailedHistoryRequest(
RestApiException
ex);
1228
partial void HandleFailedMultiSourceRequest(
RestApiException
ex);
generated-code\Analysis.cs (3)
48
partial void HandleFailedRequest(
RestApiException
ex);
50
partial void HandleFailedSetReasonRequest(
RestApiException
ex);
154
partial void HandleFailedGetDetailsRequest(
RestApiException
ex);
generated-code\HelixApi.cs (2)
171
internal void OnFailedRequest(
RestApiException
ex)
176
partial void HandleFailedRequest(
RestApiException
ex);
generated-code\Information.cs (4)
46
partial void HandleFailedRequest(
RestApiException
ex);
48
partial void HandleFailedQueueInfoRequest(
RestApiException
ex);
128
partial void HandleFailedQueueInfoListRequest(
RestApiException
ex);
202
partial void HandleFailedDeployed1esImagesInfoListRequest(
RestApiException
ex);
generated-code\Job.cs (8)
73
partial void HandleFailedRequest(
RestApiException
ex);
75
partial void HandleFailedNewRequest(
RestApiException
ex);
172
partial void HandleFailedListRequest(
RestApiException
ex);
271
partial void HandleFailedPassFailRequest(
RestApiException
ex);
346
partial void HandleFailedSummaryRequest(
RestApiException
ex);
421
partial void HandleFailedDetailsRequest(
RestApiException
ex);
496
partial void HandleFailedCancelRequest(
RestApiException
ex);
567
partial void HandleFailedWaitRequest(
RestApiException
ex);
generated-code\LogSearch.cs (3)
49
partial void HandleFailedRequest(
RestApiException
ex);
51
partial void HandleFailedDoBuildSearchRequest(
RestApiException
ex);
141
partial void HandleFailedDoTestLogSearchRequest(
RestApiException
ex);
generated-code\Machine.cs (3)
44
partial void HandleFailedRequest(
RestApiException
ex);
46
partial void HandleFailedChangeStateRequest(
RestApiException
ex);
130
partial void HandleFailedGetMachineStatusRequest(
RestApiException
ex);
generated-code\ScaleSets.cs (3)
42
partial void HandleFailedRequest(
RestApiException
ex);
44
partial void HandleFailedGetDetailedVMScalingHistoryRequest(
RestApiException
ex);
123
partial void HandleFailedGetAggregatedVMScalingHistoryRequest(
RestApiException
ex);
generated-code\Storage.cs (4)
46
partial void HandleFailedRequest(
RestApiException
ex);
48
partial void HandleFailedListRequest(
RestApiException
ex);
122
partial void HandleFailedNewRequest(
RestApiException
ex);
208
partial void HandleFailedExtendExpirationRequest(
RestApiException
ex);
generated-code\Telemetry.cs (9)
93
partial void HandleFailedRequest(
RestApiException
ex);
95
partial void HandleFailedStartJobRequest(
RestApiException
ex);
181
partial void HandleFailedStartBuildWorkItemRequest(
RestApiException
ex);
271
partial void HandleFailedFinishBuildWorkItemRequest(
RestApiException
ex);
363
partial void HandleFailedStartXUnitWorkItemRequest(
RestApiException
ex);
453
partial void HandleFailedFinishXUnitWorkItemRequest(
RestApiException
ex);
550
partial void HandleFailedWarningRequest(
RestApiException
ex);
647
partial void HandleFailedErrorRequest(
RestApiException
ex);
744
partial void HandleFailedLogRequest(
RestApiException
ex);
generated-code\WorkItem.cs (6)
63
partial void HandleFailedRequest(
RestApiException
ex);
65
partial void HandleFailedGetFileRequest(
RestApiException
ex);
152
partial void HandleFailedListFilesRequest(
RestApiException
ex);
238
partial void HandleFailedConsoleLogRequest(
RestApiException
ex);
314
partial void HandleFailedListRequest(
RestApiException
ex);
389
partial void HandleFailedDetailsRequest(
RestApiException
ex);
HelixApi.cs (3)
22
exception is
RestApiException
raex && raex.Response.Status >= 500 && raex.Response.Status <= 599 ||
25
exception is
RestApiException
jobListEx && jobListEx.Response.Status == 400 && jobListEx.Message.Contains("Provided Job List Uri is not accessible");
31
partial void HandleFailedRequest(
RestApiException
ex)
Microsoft.DotNet.Helix.JobSender (1)
JobDefinition.cs (1)
168
catch (
RestApiException
ex) when (ex.Response?.Status == 404)
Microsoft.DotNet.Helix.Sdk (5)
CancelHelixJob.cs (2)
59
catch (
RestApiException
e) when (e.Response.Status == 304)
64
catch (
RestApiException
e) when (e.Response.Status == 404)
HelixTask.cs (2)
63
catch (
RestApiException
ex) when (ex.Response.Status == (int)HttpStatusCode.Unauthorized)
67
catch (
RestApiException
ex) when (ex.Response.Status == (int)HttpStatusCode.Forbidden)
WaitForHelixJobCompletion.cs (1)
93
catch (
RestApiException
checkIfAlreadyCancelled) when (checkIfAlreadyCancelled.Response.Status == 304)