Predicator.Errors.ParseError (predicator v2.2.0)
View SourceError struct for parse errors in Predicator expressions.
This error occurs when the input expression cannot be parsed due to syntax errors.
Fields
message
- Human-readable error descriptionline
- Line number where the error occurredcolumn
- Column number where the error occurred
Examples
%Predicator.Errors.ParseError{
message: "Expected number, string, boolean, date, datetime, identifier, function call, list, or '(' but found '>' at line 1, column 10",
line: 1,
column: 10
}
Summary
Functions
Creates a parse error.
Types
@type t() :: %Predicator.Errors.ParseError{ column: pos_integer(), line: pos_integer(), message: binary() }
Functions
@spec new(binary(), pos_integer(), pos_integer()) :: t()
Creates a parse error.