Liking cljdoc? Tell your friends :D

lsp4clj.lsp.errors


bodyclj

(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`.
sourceraw docstring

by-codeclj

(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.
sourceraw docstring

by-keyclj

source

internal-errorclj

(internal-error data)
source

not-foundclj

(not-found method)
source

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

× close