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

ErrorContext

public class ErrorContext
Provides information surrounding an error.
public Exception Error { get; }

Gets or sets the error.

public bool Handled { get; set; }

Gets or sets a value indicating whether this ErrorContext is handled.

public object Member { get; }

Gets the member that caused the error.

public object OriginalObject { get; }

Gets the original object that caused the error.

public string Path { get; }

Gets the path of the JSON location where the error occurred.