Table of Contents

Class PatternFormatException

Namespace
JsonApiDotNetCore.QueryStrings.FieldChains
Assembly
JsonApiDotNetCore.dll

The exception that is thrown when the format of a FieldChainPattern is invalid.

[PublicAPI]
public sealed class PatternFormatException : FormatException, ISerializable
Inheritance
PatternFormatException
Implements
Inherited Members

Constructors

PatternFormatException(string, int, string)

The exception that is thrown when the format of a FieldChainPattern is invalid.

public PatternFormatException(string pattern, int position, string message)

Parameters

pattern string
position int
message string

Properties

Pattern

Gets the text of the invalid pattern.

public string Pattern { get; }

Property Value

string

Position

Gets the zero-based error position in Pattern, or at its end.

public int Position { get; }

Property Value

int