C# Class Microsoft.AspNetCore.JsonPatch.JsonPatchError

Captures error message and the related entity and the operation that caused it.
Show file Open project: aspnet/JsonPatch

Public Methods

Method Description
JsonPatchError ( object affectedObject, Operation operation, string errorMessage ) : System

Initializes a new instance of JsonPatchError.

Method Details

JsonPatchError() public method

Initializes a new instance of JsonPatchError.
public JsonPatchError ( object affectedObject, Operation operation, string errorMessage ) : System
affectedObject object The object that is affected by the error.
operation Operation The that caused the error.
errorMessage string The error message.
return System