YuriTemplate.ParseError exception (yuri_template v1.1.0) View Source
Exception for nimble_parsec
errors.
Link to this section Summary
Types
Line index (one based) and cursor index (zero based).
Link to this section Types
Specs
position() :: {line :: pos_integer(), cursor :: non_neg_integer()}
Line index (one based) and cursor index (zero based).
Link to this section Functions
Specs
new(String.t(), binary(), map(), position(), non_neg_integer()) :: Exception.t()
Constructor for YuriTemplate.ParseError
.
Parameters
message
: the textual representation of the error.rest
: unparsed fragment of the string.position
: the position in the string where parsing stopped.offset
: byte offset of the position.