Skip to content

Commit

Permalink
Add AdditionalData to ErrorResponse
Browse files Browse the repository at this point in the history
Closes #63
  • Loading branch information
asleire committed May 2, 2023
1 parent 3c2350e commit d42b7b9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/NetCoreForce.Client/Models/ErrorResponse.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

namespace NetCoreForce.Client.Models
{
Expand All @@ -22,5 +23,11 @@ public class ErrorResponse
/// </summary>
[JsonProperty(PropertyName = "errorCode")]
public string ErrorCode { get; set; }

/// <summary>
/// Additional data
/// </summary>
[JsonExtensionData]
public Dictionary<string, JToken> AdditionalData { get; set; }
}
}

0 comments on commit d42b7b9

Please sign in to comment.