From 20d1418e7bf865bc513d568da120145cd2ada44e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?James=20Davis=20=E2=9B=BA=EF=B8=8F=F0=9F=8F=94?= Date: Fri, 9 Jul 2021 13:46:32 -0600 Subject: [PATCH 1/6] [Error Codes] Updated ServerErrorException --- iothub/device/src/Common/Exceptions/ServerErrorException.cs | 6 +++++- .../service/src/Common/Exceptions/ServerErrorException.cs | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/iothub/device/src/Common/Exceptions/ServerErrorException.cs b/iothub/device/src/Common/Exceptions/ServerErrorException.cs index 3b907a940d..a2b54139c1 100644 --- a/iothub/device/src/Common/Exceptions/ServerErrorException.cs +++ b/iothub/device/src/Common/Exceptions/ServerErrorException.cs @@ -6,8 +6,12 @@ namespace Microsoft.Azure.Devices.Client.Exceptions { /// - /// The exception that is thrown when the IoT Hub returned an error code. + /// The exception that is thrown when the IoT Hub returned an internal service error. + /// 500xxx Internal errors /// + /// + /// This exception typically means the IoT Hub service has encountered an unexpected error and is usually transient. Please review the 500xxx Internal errors guide for more information. The best course of action is to retry your operation after some time. By default, the SDK will utilize the retry strategy. + /// [Serializable] public sealed class ServerErrorException : IotHubException { diff --git a/iothub/service/src/Common/Exceptions/ServerErrorException.cs b/iothub/service/src/Common/Exceptions/ServerErrorException.cs index 5ce7c011eb..c0581a777b 100644 --- a/iothub/service/src/Common/Exceptions/ServerErrorException.cs +++ b/iothub/service/src/Common/Exceptions/ServerErrorException.cs @@ -7,8 +7,12 @@ namespace Microsoft.Azure.Devices.Common.Exceptions { /// - /// The exception that is thrown when IoT Hub encounters an error while processing a request. + /// The exception that is thrown when the IoT Hub returned an internal service error. + /// 500xxx Internal errors /// + /// + /// This exception typically means the IoT Hub service has encountered an unexpected error and is usually transient. Please review the 500xxx Internal errors guide for more information. The best course of action is to retry your operation after some time. By default, the SDK will utilize the retry strategy. + /// [Serializable] public sealed class ServerErrorException : IotHubException { From dbc107574616e0746d88e10c445bb8f7dbc15437 Mon Sep 17 00:00:00 2001 From: jamdavi <73593426+jamdavi@users.noreply.github.com> Date: Fri, 9 Jul 2021 15:45:23 -0600 Subject: [PATCH 2/6] Update ServerErrorException.cs --- iothub/device/src/Common/Exceptions/ServerErrorException.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iothub/device/src/Common/Exceptions/ServerErrorException.cs b/iothub/device/src/Common/Exceptions/ServerErrorException.cs index a2b54139c1..68619ccc4f 100644 --- a/iothub/device/src/Common/Exceptions/ServerErrorException.cs +++ b/iothub/device/src/Common/Exceptions/ServerErrorException.cs @@ -7,7 +7,7 @@ namespace Microsoft.Azure.Devices.Client.Exceptions { /// /// The exception that is thrown when the IoT Hub returned an internal service error. - /// 500xxx Internal errors + /// 500xxx Internal errors /// /// /// This exception typically means the IoT Hub service has encountered an unexpected error and is usually transient. Please review the 500xxx Internal errors guide for more information. The best course of action is to retry your operation after some time. By default, the SDK will utilize the retry strategy. From efd5c28702b44917b8b5ff695435d477ba20cea5 Mon Sep 17 00:00:00 2001 From: jamdavi <73593426+jamdavi@users.noreply.github.com> Date: Fri, 9 Jul 2021 15:45:48 -0600 Subject: [PATCH 3/6] Update ServerErrorException.cs --- iothub/device/src/Common/Exceptions/ServerErrorException.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iothub/device/src/Common/Exceptions/ServerErrorException.cs b/iothub/device/src/Common/Exceptions/ServerErrorException.cs index 68619ccc4f..1c3030bfae 100644 --- a/iothub/device/src/Common/Exceptions/ServerErrorException.cs +++ b/iothub/device/src/Common/Exceptions/ServerErrorException.cs @@ -10,7 +10,7 @@ namespace Microsoft.Azure.Devices.Client.Exceptions /// 500xxx Internal errors /// /// - /// This exception typically means the IoT Hub service has encountered an unexpected error and is usually transient. Please review the 500xxx Internal errors guide for more information. The best course of action is to retry your operation after some time. By default, the SDK will utilize the retry strategy. + /// This exception typically means the IoT Hub service has encountered an unexpected error and is usually transient. Please review the 500xxx Internal errors guide for more information. The best course of action is to retry your operation after some time. By default, the SDK will utilize the retry strategy. /// [Serializable] public sealed class ServerErrorException : IotHubException From 3c4a3d901157197cc18156f556a36b4928dc28a6 Mon Sep 17 00:00:00 2001 From: jamdavi <73593426+jamdavi@users.noreply.github.com> Date: Fri, 9 Jul 2021 15:46:04 -0600 Subject: [PATCH 4/6] Update ServerErrorException.cs --- iothub/service/src/Common/Exceptions/ServerErrorException.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iothub/service/src/Common/Exceptions/ServerErrorException.cs b/iothub/service/src/Common/Exceptions/ServerErrorException.cs index c0581a777b..0315b51b32 100644 --- a/iothub/service/src/Common/Exceptions/ServerErrorException.cs +++ b/iothub/service/src/Common/Exceptions/ServerErrorException.cs @@ -8,10 +8,10 @@ namespace Microsoft.Azure.Devices.Common.Exceptions { /// /// The exception that is thrown when the IoT Hub returned an internal service error. - /// 500xxx Internal errors + /// 500xxx Internal errors /// /// - /// This exception typically means the IoT Hub service has encountered an unexpected error and is usually transient. Please review the 500xxx Internal errors guide for more information. The best course of action is to retry your operation after some time. By default, the SDK will utilize the retry strategy. + /// This exception typically means the IoT Hub service has encountered an unexpected error and is usually transient. Please review the 500xxx Internal errors guide for more information. The best course of action is to retry your operation after some time. By default, the SDK will utilize the retry strategy. /// [Serializable] public sealed class ServerErrorException : IotHubException From 15484da8392c008fbd18f6946aad417f6f274f7a Mon Sep 17 00:00:00 2001 From: jamdavi <73593426+jamdavi@users.noreply.github.com> Date: Fri, 9 Jul 2021 15:48:44 -0600 Subject: [PATCH 5/6] Update ServerErrorException.cs --- iothub/device/src/Common/Exceptions/ServerErrorException.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/iothub/device/src/Common/Exceptions/ServerErrorException.cs b/iothub/device/src/Common/Exceptions/ServerErrorException.cs index 1c3030bfae..16db31cdc0 100644 --- a/iothub/device/src/Common/Exceptions/ServerErrorException.cs +++ b/iothub/device/src/Common/Exceptions/ServerErrorException.cs @@ -7,7 +7,6 @@ namespace Microsoft.Azure.Devices.Client.Exceptions { /// /// The exception that is thrown when the IoT Hub returned an internal service error. - /// 500xxx Internal errors /// /// /// This exception typically means the IoT Hub service has encountered an unexpected error and is usually transient. Please review the 500xxx Internal errors guide for more information. The best course of action is to retry your operation after some time. By default, the SDK will utilize the retry strategy. From d0275dc2a31cefdfbfcf9fca4634bcdac7d13a5e Mon Sep 17 00:00:00 2001 From: jamdavi <73593426+jamdavi@users.noreply.github.com> Date: Fri, 9 Jul 2021 15:48:54 -0600 Subject: [PATCH 6/6] Update ServerErrorException.cs --- iothub/service/src/Common/Exceptions/ServerErrorException.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/iothub/service/src/Common/Exceptions/ServerErrorException.cs b/iothub/service/src/Common/Exceptions/ServerErrorException.cs index 0315b51b32..4ec834bcf1 100644 --- a/iothub/service/src/Common/Exceptions/ServerErrorException.cs +++ b/iothub/service/src/Common/Exceptions/ServerErrorException.cs @@ -8,7 +8,6 @@ namespace Microsoft.Azure.Devices.Common.Exceptions { /// /// The exception that is thrown when the IoT Hub returned an internal service error. - /// 500xxx Internal errors /// /// /// This exception typically means the IoT Hub service has encountered an unexpected error and is usually transient. Please review the 500xxx Internal errors guide for more information. The best course of action is to retry your operation after some time. By default, the SDK will utilize the retry strategy.