Skip to content

Commit

Permalink
[Error Codes] Updated ServerErrorException (#2071)
Browse files Browse the repository at this point in the history
* [Error Codes] Updated ServerErrorException

* Update ServerErrorException.cs

* Update ServerErrorException.cs

* Update ServerErrorException.cs

* Update ServerErrorException.cs

* Update ServerErrorException.cs
  • Loading branch information
jamdavi committed Jul 9, 2021
1 parent 4debaa1 commit 16117c3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion iothub/device/src/Common/Exceptions/ServerErrorException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
namespace Microsoft.Azure.Devices.Client.Exceptions
{
/// <summary>
/// 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.
/// </summary>
/// <remarks>
/// This exception typically means the IoT Hub service has encountered an unexpected error and is usually transient. Please review the <see href="https://docs.microsoft.com/azure/iot-hub/iot-hub-troubleshoot-error-500xxx-internal-errors">500xxx Internal errors</see> guide for more information. The best course of action is to retry your operation after some time. By default, the SDK will utilize the <see cref="ExponentialBackoff"/> retry strategy.
/// </remarks>
[Serializable]
public sealed class ServerErrorException : IotHubException
{
Expand Down
5 changes: 4 additions & 1 deletion iothub/service/src/Common/Exceptions/ServerErrorException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
namespace Microsoft.Azure.Devices.Common.Exceptions
{
/// <summary>
/// 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.
/// </summary>
/// <remarks>
/// This exception typically means the IoT Hub service has encountered an unexpected error and is usually transient. Please review the <see href="https://docs.microsoft.com/azure/iot-hub/iot-hub-troubleshoot-error-500xxx-internal-errors">500xxx Internal errors</see> guide for more information. The best course of action is to retry your operation after some time. By default, the SDK will utilize the <see cref="ExponentialBackoff"/> retry strategy.
/// </remarks>
[Serializable]
public sealed class ServerErrorException : IotHubException
{
Expand Down

0 comments on commit 16117c3

Please sign in to comment.