Zum Hauptinhalt springen

JsonPathException

Namespace: Meshmakers.Octo.Sdk.Common.EtlDataPipeline.JsonPath

Exception thrown when a JSONPath expression cannot be parsed or evaluated.

public class JsonPathException : Exception, ISerializable

Inheritance Object → Exception → JsonPathException
Implements ISerializable

Properties​

Path​

The JSONPath expression that caused the error.

public string Path { get; }

Property Value​

String

Position​

Zero-based character position within JsonPathException.Path where the error was detected.

public int Position { get; }

Property Value​

Int32

TargetSite​

public MethodBase TargetSite { get; }

Property Value​

MethodBase

Message​

public string Message { get; }

Property Value​

String

Data​

public IDictionary Data { get; }

Property Value​

IDictionary

InnerException​

public Exception InnerException { get; }

Property Value​

Exception

public string HelpLink { get; set; }

Property Value​

String

Source​

public string Source { get; set; }

Property Value​

String

HResult​

public int HResult { get; set; }

Property Value​

Int32

StackTrace​

public string StackTrace { get; }

Property Value​

String

Constructors​

JsonPathException(String, String, Int32)​

Initializes a new instance of the JsonPathException class.

public JsonPathException(string message, string path, int position)

Parameters​

message String
Human-readable description of the error.

path String
The JSONPath expression that caused the error.

position Int32
Zero-based character position within path where the error was detected.