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

ErrorEventArgs

public class ErrorEventArgs : EventArgs
Provides data for the Error event.
using System; using System.Runtime.CompilerServices; namespace Newtonsoft.Json.Serialization { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public class ErrorEventArgs : EventArgs { [System.Runtime.CompilerServices.Nullable(2)] [field: System.Runtime.CompilerServices.Nullable(2)] public object CurrentObject { [System.Runtime.CompilerServices.NullableContext(2)] get; } public ErrorContext ErrorContext { get; } public ErrorEventArgs([System.Runtime.CompilerServices.Nullable(2)] object currentObject, ErrorContext errorContext) { CurrentObject = currentObject; ErrorContext = errorContext; } } }