Liking cljdoc? Tell your friends :D
All platforms.

hive-addon.cli.response

The tool-result shape a CLI handler returns.

A host may enrich these — attaching recovery hints or pending agent instructions — by passing its own builders to hive-addon.cli/make-handler.

The tool-result shape a CLI handler returns.

A host may enrich these — attaching recovery hints or pending agent
instructions — by passing its own builders to `hive-addon.cli/make-handler`.
raw docstring

errorclj/s

(error message)

A failed result carrying MESSAGE.

A failed result carrying MESSAGE.
sourceraw docstring

error?clj/s

(error? response)

True iff RESPONSE is an error result.

True iff RESPONSE is an error result.
sourceraw docstring

textclj/s

(text content)

A successful result carrying CONTENT.

The parameter is not called text: on cljrs a defn parameter sharing the FUNCTION'S OWN name does not shadow the self-reference, so the body binds the function object and this returned {:text #<Fn text>}. A parameter named after any OTHER var shadows correctly, and so does a let — it is specifically the self-name collision that breaks.

A successful result carrying CONTENT.

The parameter is not called `text`: on cljrs a defn parameter sharing the
FUNCTION'S OWN name does not shadow the self-reference, so the body binds the
function object and this returned {:text #<Fn text>}. A parameter named after
any OTHER var shadows correctly, and so does a `let` — it is specifically the
self-name collision that breaks.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close