Liking cljdoc? Tell your friends :D

tenet.response


*registryclj/s

Registry of anomalies.

Registry of anomalies.
sourceraw docstring

->clj/smacro

(-> expr & forms)

This macro is the same as clojure.core/some->, but the check is done using the predicate anomaly? of the IAnomaly protocol and the substitution occurs as in macro -> (the thread-first macro).

This macro is the same as `clojure.core/some->`, but the check is done
using the predicate `anomaly?` of the `IAnomaly` protocol and
the substitution occurs as in macro `->` (the `thread-first` macro).
sourceraw docstring

->>clj/smacro

(->> expr & forms)

This macro is the same as clojure.core/some->>, but the check is done using the predicate anomaly? of the IAnomaly protocol and the substitution occurs as in macro ->> (the thread-last macro).

This macro is the same as `clojure.core/some->>`, but the check is done
using the predicate `anomaly?` of the `IAnomaly` protocol and
the substitution occurs as in macro `->>` (the `thread-last` macro).
sourceraw docstring

asclj/s

(as type)
(as type data)
source

as-acceptedclj/s

(as-accepted)
(as-accepted x)
source

as-busyclj/s

(as-busy)
(as-busy x)
source

as-conflictclj/s

(as-conflict)
(as-conflict x)
source

as-createdclj/s

(as-created)
(as-created x)
source

as-deletedclj/s

(as-deleted)
(as-deleted x)
source

as-errorclj/s

(as-error)
(as-error x)
source

as-forbiddenclj/s

(as-forbidden)
(as-forbidden x)
source

as-foundclj/s

(as-found)
(as-found x)
source

as-incorrectclj/s

(as-incorrect)
(as-incorrect x)
source

as-interruptedclj/s

(as-interrupted)
(as-interrupted x)
source

as-not-foundclj/s

(as-not-found)
(as-not-found x)
source

as-successclj/s

(as-success)
(as-success x)
source

as-unauthorizedclj/s

(as-unauthorized)
(as-unauthorized x)
source

as-unavailableclj/s

(as-unavailable)
(as-unavailable x)
source

as-unsupportedclj/s

(as-unsupported)
(as-unsupported x)
source

as-updatedclj/s

(as-updated)
(as-updated x)
source

cl-formatclj/s

An implementation of a Common Lisp compatible format function.

An implementation of a Common Lisp compatible format function.
sourceraw docstring

cljs?clj

(cljs? env)

Checks &env in macro and returns true if that cljs env. Otherwise false.

Checks &env in macro and returns `true` if that cljs env. Otherwise `false`.
sourceraw docstring

formatclj/s

Formats a string.

Formats a string.
sourceraw docstring

IAnomalyclj/sprotocol

Anomaly protocol.

Anomaly protocol.

anomaly?clj/s

(anomaly? this)

Returns true if it is an anomaly. Otherwise, false.

Returns `true` if it is an anomaly. Otherwise, `false`.
sourceraw docstring

IResponseclj/sprotocol

Response protocol.

Response protocol.

response?clj/s

(response? this)

Returns true if it is a response. Otherwise, false.

Returns `true` if it is a response. Otherwise, `false`.
sourceraw docstring

IResponseBuilderclj/sprotocol

Response builder protocol.

Response builder protocol.

as-responseclj/s

(as-response this type)

Returns a response using the given response type.

Returns a response using the given response type.
sourceraw docstring

map->responseclj/s

(map->response {:keys [type data] :as map})
source

Responsecljs

source

safeclj/smacro

(safe body)
(safe body handler)

Extended version of try-catch.

Extended version of try-catch.
sourceraw docstring

vec->responseclj/s

(vec->response [type data :as coll])
source

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

× close