Class QueryParseException
- Namespace
- JsonApiDotNetCore.Queries.Parsing
- Assembly
- JsonApiDotNetCore.dll
The error that is thrown when parsing a query string parameter fails.
[PublicAPI]
public sealed class QueryParseException : Exception, ISerializable
- Inheritance
-
QueryParseException
- Implements
- Inherited Members
Constructors
QueryParseException(string, int)
public QueryParseException(string message, int position)
Parameters
QueryParseException(string, int, Exception)
public QueryParseException(string message, int position, Exception innerException)
Parameters
Properties
Position
Gets the zero-based position in the text of the query string parameter name/value, or at its end, where the failure occurred, or -1 if unavailable.
public int Position { get; }
Property Value
Methods
GetMessageWithPosition(string)
public string GetMessageWithPosition(string sourceText)
Parameters
sourceText
string