<PackageReference Include="Newtonsoft.Json" Version="5.0.8" />

ErrorEventArgs

public class ErrorEventArgs : EventArgs
Provides data for the Error event.
using System; namespace Newtonsoft.Json.Serialization { public class ErrorEventArgs : EventArgs { public object CurrentObject { get; set; } public ErrorContext ErrorContext { get; set; } public ErrorEventArgs(object currentObject, ErrorContext errorContext) { CurrentObject = currentObject; ErrorContext = errorContext; } } }