From d42b7b9d223dce6d4b3947c47595f25e6c99e041 Mon Sep 17 00:00:00 2001 From: Aleksander Date: Tue, 2 May 2023 12:13:47 +0200 Subject: [PATCH] Add AdditionalData to ErrorResponse Closes #63 --- src/NetCoreForce.Client/Models/ErrorResponse.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/NetCoreForce.Client/Models/ErrorResponse.cs b/src/NetCoreForce.Client/Models/ErrorResponse.cs index 7173d0c..5d0a0e6 100644 --- a/src/NetCoreForce.Client/Models/ErrorResponse.cs +++ b/src/NetCoreForce.Client/Models/ErrorResponse.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using Newtonsoft.Json; +using Newtonsoft.Json.Linq; namespace NetCoreForce.Client.Models { @@ -22,5 +23,11 @@ public class ErrorResponse /// [JsonProperty(PropertyName = "errorCode")] public string ErrorCode { get; set; } + + /// + /// Additional data + /// + [JsonExtensionData] + public Dictionary AdditionalData { get; set; } } }