Skip to content

Commit

Permalink
Merge pull request #64 from asleire/main
Browse files Browse the repository at this point in the history
Add AdditionalData to ErrorResponse
  • Loading branch information
anthonyreilly authored Nov 22, 2023
2 parents 54f5296 + d42b7b9 commit 0efae5a
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 0efae5a

Please sign in to comment.