(body code message data)Returns a JSON-RPC error object with the code and, if provided, the message and data.
code can be a keyword or an integer as per by-code.
Returns a JSON-RPC error object with the code and, if provided, the message and data. `code` can be a keyword or an integer as per `by-code`.
(by-code code-or-key)Returns a JSON-RPC error object, for use in an error response.
https://www.jsonrpc.org/specification#error_object
If code-or-key is one of the keywords defined in by-key, creates an error
object with the corresponding numeric code. Otherwise, code-or-key should
be an integer, excluding the ranges -32000 to -32099 and -32800 to -32899,
which are reserved.
Returns a JSON-RPC error object, for use in an error response. https://www.jsonrpc.org/specification#error_object If `code-or-key` is one of the keywords defined in `by-key`, creates an error object with the corresponding numeric code. Otherwise, `code-or-key` should be an integer, excluding the ranges -32000 to -32099 and -32800 to -32899, which are reserved.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |