ErrorCode Enum

Definition

Unique code for each instance of DeviceGateway exception that identifies the error condition that caused the failure.

public enum ErrorCode
type ErrorCode = 
Public Enum ErrorCode
Inheritance
ErrorCode

Fields

AuthorizationRulesExceededQuota 200

Bad Request

GarbageCollectionFailed 107
InvalidEventHubAccessRight 109
InvalidIotHubName 201
InvalidOperationId 202
IotHubActivationFailed 300

Internal Error

IotHubDeletionFailed 301
IotHubExportFailed 302
IotHubImportFailed 304
IotHubInvalidProperties 310
IotHubInvalidStateTransition 308
IotHubNameNotAvailable 203
IotHubNotFoundInDatabase 102
IotHubsExportFailed 303
IotHubsImportFailed 305
IotHubStateTransitionNotDefined 309
IotHubUpdateFailed 108
KeyNameNotFound 400

Not found

MultipleMatchingResourcesFound 106
NoMatchingResourceFound 105
NoMatchingResourcePoolFound 103
None -1
OrchestrationRunningOnIotHub 101
OrchestrationStateInvalid 100
ResourcePoolNotFound 104
SystemPropertiesNotAllowed 204
WinFabApplicationCleanupNotAttempted 1000

Internal Warning Range 1000-1299

WinFabApplicationUpgradeFailed 306
WinFabClusterUpgradeFailed 307

Remarks

These error codes will allow us to do automatic analysis and aggregation of error responses sent from resource provider and frontend.

Applies to