Liking cljdoc? Tell your friends :D

im.ttalk.agent.server.strings

clj-agent-server 的文案与错误。

(msg k & args) ⇒ {:code "区/事件" :text "渲染后的话"}({0} {1} … 占位);(error k args data) ⇒ ex-info, ex-data 带 :im.ttalk.agent.server/code(= :code)。码与文案移植自 Keelson(clj-net-server / clj-agui-server 由 C# resx 生成的中文文案包,提交 5899776c);线上的错误种类码(bad_json、thread_not_found …)不在这里,它们是 AG-UI 的线协议。

clj-agent-server 的文案与错误。

`(msg k & args)` ⇒ `{:code "区/事件" :text "渲染后的话"}`(`{0}` `{1}` … 占位);`(error k args data)` ⇒ ex-info,
ex-data 带 `:im.ttalk.agent.server/code`(= :code)。码与文案移植自 Keelson(`clj-net-server` / `clj-agui-server` 由 C# resx
生成的中文文案包,提交 5899776c);线上的错误种类码(`bad_json`、`thread_not_found` …)不在这里,它们是 AG-UI 的线协议。
raw docstring

codeclj

(code e)

异常(或其 ex-data)的码;不是本模块的 ⇒ nil。

异常(或其 ex-data)的码;不是本模块的 ⇒ nil。
sourceraw docstring

errorclj

(error m)
(error m data)
(error {:keys [code text]} data cause)

造 ex-info:消息是 (msg k args…) 的 text,ex-data = data + :im.ttalk.agent.server/code。

造 ex-info:消息是 `(msg k args…)` 的 text,ex-data = `data` + `:im.ttalk.agent.server/code`。
sourceraw docstring

messagesclj

文案表(中文)。

文案表(中文)。
sourceraw docstring

msgclj

(msg k & args)

文案:{:code :text}。键缺失 ⇒ text 是码本身。

文案:`{:code :text}`。键缺失 ⇒ text 是码本身。
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