Skip to content

Commit

Permalink
[Error Codes] Updating UnauthorizedException (#2072)
Browse files Browse the repository at this point in the history
* [Error Codes] Updating UnauthorizedException

* Remove en-us

* Remove en-us

* Update UnauthorizedException.cs

* Update UnauthorizedException.cs
  • Loading branch information
jamdavi authored Jul 9, 2021
1 parent 16117c3 commit e061ca1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion iothub/device/src/Common/Exceptions/UnauthorizedException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
namespace Microsoft.Azure.Devices.Client.Exceptions
{
/// <summary>
/// The exception that is thrown if the current operation was not authorized.
/// The exception that is thrown when there is an authorization error.
/// </summary>
/// <remarks>
/// This exception means the client is not authorized to use the specified IoT Hub. Please review the <see href="https://docs.microsoft.com/azure/iot-hub/iot-hub-troubleshoot-error-401003-iothubunauthorized">401003 IoTHubUnauthorized</see> guide for more information.
/// </remarks>
[Serializable]
public sealed class UnauthorizedException : IotHubException
{
Expand Down
3 changes: 3 additions & 0 deletions iothub/service/src/Common/Exceptions/UnauthorizedException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ namespace Microsoft.Azure.Devices.Common.Exceptions
/// <summary>
/// The exception that is thrown when there is an authorization error.
/// </summary>
/// <remarks>
/// This exception means the client is not authorized to use the specified IoT Hub. Please review the <see href="https://docs.microsoft.com/azure/iot-hub/iot-hub-troubleshoot-error-401003-iothubunauthorized">401003 IoTHubUnauthorized</see> guide for more information.
/// </remarks>
[Serializable]
public sealed class UnauthorizedException : IotHubException
{
Expand Down

0 comments on commit e061ca1

Please sign in to comment.