Newtonsoft.Json.Serialization.OnErrorAttribute
When applied to a method, specifies that the method is called when an error occurs serializing an object.
namespace Newtonsoft.Json.Serialization
{
public sealed class OnErrorAttribute : Attribute
{
public OnErrorAttribute();
}
}