Skip to content

Commit

Permalink
Document ArgumentNull
Browse files Browse the repository at this point in the history
  • Loading branch information
David R. Williamson committed Jul 12, 2021
1 parent e329559 commit d06a1d6
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 d06a1d6

Please sign in to comment.