ErrorCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
None | -1 | |
OrchestrationStateInvalid | 100 | |
OrchestrationRunningOnIotHub | 101 | |
IotHubNotFoundInDatabase | 102 | |
NoMatchingResourcePoolFound | 103 | |
ResourcePoolNotFound | 104 | |
NoMatchingResourceFound | 105 | |
MultipleMatchingResourcesFound | 106 | |
GarbageCollectionFailed | 107 | |
IotHubUpdateFailed | 108 | |
InvalidEventHubAccessRight | 109 | |
AuthorizationRulesExceededQuota | 200 | Bad Request |
InvalidIotHubName | 201 | |
InvalidOperationId | 202 | |
IotHubNameNotAvailable | 203 | |
SystemPropertiesNotAllowed | 204 | |
IotHubActivationFailed | 300 | Internal Error |
IotHubDeletionFailed | 301 | |
IotHubExportFailed | 302 | |
IotHubsExportFailed | 303 | |
IotHubImportFailed | 304 | |
IotHubsImportFailed | 305 | |
WinFabApplicationUpgradeFailed | 306 | |
WinFabClusterUpgradeFailed | 307 | |
IotHubInvalidStateTransition | 308 | |
IotHubStateTransitionNotDefined | 309 | |
IotHubInvalidProperties | 310 | |
KeyNameNotFound | 400 | Not found |
WinFabApplicationCleanupNotAttempted | 1000 | Internal Warning Range 1000-1299 |
Remarks
These error codes will allow us to do automatic analysis and aggregation of error responses sent from resource provider and frontend.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET