Liking cljdoc? Tell your friends :D

paco.detail.reply


IReplyclj/sprotocol

errorclj/s

(error reply)

Returns the error of the reply.

Returns the error of the reply.

ok?clj/s

(ok? reply)

Returns true if this reply is successful.

Returns true if this reply is successful.

valueclj/s

(value reply)

Returns the result value of the reply.

Returns the result value of the reply.

with-errorclj/s

(with-error reply error)

Returns an updated reply with the error set to error.

Returns an updated reply with the error set to `error`.

with-okclj/s

(with-ok reply ok?)

Returns an updated reply with the success flag set to ok?.

Returns an updated reply with the success flag set to `ok?`.

with-valueclj/s

(with-value reply value)

Returns an updated reply with the result value set to value.

Returns an updated reply with the result value set to `value`.
source

IReplyFactoryclj/sprotocol

failclj/s

(fail reply-factory error)

Creates an unsuccessful reply with an error.

Creates an unsuccessful reply with an error.

okclj/s

(ok reply-factory value)
(ok reply-factory value error)

Creates a successful reply with a result value. Successful replies can also carry an error, representing any additional input the parser could have consumed.

Creates a successful reply with a result value.  Successful replies
can also carry an error, representing any additional input the parser
could have consumed.
source

mutable-replyclj/s

(mutable-reply)

Creates a mutable reply object.

Creates a mutable reply object.
sourceraw docstring

update-valueclj/s

(update-value reply f)

Updates the result value of reply using f.

Updates the result value of `reply` using `f`.
sourceraw docstring

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

× close