Skip to content

Commit

Permalink
Document ArgumentNull (#2091)
Browse files Browse the repository at this point in the history
  • Loading branch information
David R. Williamson authored Jul 12, 2021
1 parent e329559 commit 2fce30b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions iothub/service/src/Common/Exceptions/ErrorCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ public enum ErrorCode
// Note: one example found in logs is for invalid characters in a twin property name.
ArgumentInvalid = 400004,

/// <summary>
/// Something in the payload is unexpectedly null. Check the error message for more information about what is invalid.
/// </summary>
// Note: an example suggested is null method payloads, but our client converts null to a JSON null, which is allowed.
ArgumentNull = 400005,

IotHubFormatError = 400006,

/// <summary>
Expand Down

0 comments on commit 2fce30b

Please sign in to comment.