Liking cljdoc? Tell your friends :D

paco.detail.error


compoundclj/s

(compound label source error)

Returns a compound error message, generated by the compound-labelling operator.

Returns a compound error message, generated by the compound-labelling
operator.
sourceraw docstring

expectedclj/s

(expected label)

Returns an error message indicating that the input did not match an expected pattern, described by label.

Returns an error message indicating that the input did not match an
expected pattern, described by `label`.
sourceraw docstring

expected-endclj/s

This error indicates that the parser expected the end of the input stream, but encountered a different token.

This error indicates that the parser expected the end of the input stream,
but encountered a different token.
sourceraw docstring

expected-inputclj/s

(expected-input input)

Returns an error message indicating that the input did not match the expected input.

Returns an error message indicating that the input did not match the
expected `input`.
sourceraw docstring

IErrorclj/sprotocol

An error is a collection of messages.

An error is a collection of messages.

-reduce-msgsclj/s

(-reduce-msgs error f result)

Reduce all messages in this error into result using the reducing function f.

Reduce all messages in this error into `result` using the reducing
function `f`.
sourceraw docstring

IMessageclj/sprotocol

An error message.

An error message.

-compare-msgsclj/s

(-compare-msgs msg other)

Compare this message to other, determining message order.

Compare this message to `other`, determining message order.

-msg-typeclj/s

(-msg-type msg)

Returns a keyword representing the type of this message.

Returns a keyword representing the type of this message.

-write-msg!clj/s

(-write-msg! msg writer opts)

Writes this message to writer.

Writes this message to `writer`.
sourceraw docstring

mergeclj/s

(merge e1 e2)

Merge two errors.

Merge two errors.
sourceraw docstring

messageclj/s

(message text)

Returns a generic error message that does not fit the other types.

Returns a generic error message that does not fit the other types.
sourceraw docstring

message-setclj/s

(message-set error)

Returns distinct error messages as a set.

Returns distinct error messages as a set.
sourceraw docstring

message?clj/s

(message? x)
(message? x type)

Returns true if x is a message, and optionally of the given type.

Returns true if `x` is a message, and optionally of the given `type`.
sourceraw docstring

nestedclj/s

(nested source error)

Returns an error message indicating that the parser backtracked after it encountered error.

Returns an error message indicating that the parser backtracked after it
encountered `error`.
sourceraw docstring

nested->compoundclj/s

(nested->compound error label)

Turns a nested error to a compound one.

Turns a `nested` error to a `compound` one.
sourceraw docstring

no-messageclj/s

An error without message.

An error without message.
sourceraw docstring

renderclj/s

(render source error)

Default error renderer.

Default error renderer.
sourceraw docstring

sort-messagesclj/s

(sort-messages error)

Returns a sorted sequence of distinct messages in error.

Returns a sorted sequence of distinct messages in `error`.
sourceraw docstring

stringclj/s

(string error)
(string error pos)

Returns a string representation of error.

Returns a string representation of `error`.
sourceraw docstring

unexpectedclj/s

(unexpected label)

Returns an error message indicating that the parser encountered some unexpected input, described by label.

Returns an error message indicating that the parser encountered some
unexpected input, described by `label`.
sourceraw docstring

unexpected-endclj/s

This error indicates that the parser encountered an unexpected end of the input stream.

This error indicates that the parser encountered an unexpected end of
the input stream.
sourceraw docstring

unexpected-inputclj/s

(unexpected-input input)

Returns an error message indicating that input the parser encountered was unexpected.

Returns an error message indicating that `input` the parser encountered
was unexpected.
sourceraw docstring

unexpected-token-or-endclj/s

(unexpected-token-or-end source)
(unexpected-token-or-end source error)

Returns an error indicating that the next token or end of input was unexpected.

Returns an error indicating that the next token or end of input was
unexpected.
sourceraw docstring

write-messages!clj/s

(write-messages! error writer)
(write-messages! error writer pos)
(write-messages! error writer pos opts)

Write error messages to writer.

Write error messages to `writer`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close