Liking cljdoc? Tell your friends :D

ninja.unifier.response

A simple response unifier.

A simple response unifier.
raw docstring

as-acceptedclj/s

(as-accepted x)
(as-accepted x meta)

Returns unified accepted response.

Returns unified accepted response.
sourceraw docstring

as-busyclj/s

(as-busy x)
(as-busy x meta)

Returns unified busy response.

Returns unified busy response.
sourceraw docstring

as-conflictclj/s

(as-conflict x)
(as-conflict x meta)

Returns unified conflict response.

Returns unified conflict response.
sourceraw docstring

as-createdclj/s

(as-created x)
(as-created x meta)

Returns unified created response.

Returns unified created response.
sourceraw docstring

as-deletedclj/s

(as-deleted x)
(as-deleted x meta)

Returns unified deleted response.

Returns unified deleted response.
sourceraw docstring

as-errorclj/s

(as-error x)
(as-error x meta)

Returns unified error response.

Returns unified error response.
sourceraw docstring

as-exceptionclj/s

(as-exception x)
(as-exception x meta)

Returns unified exception response.

Returns unified exception response.
sourceraw docstring

as-forbiddenclj/s

(as-forbidden x)
(as-forbidden x meta)

Returns unified forbidden response.

Returns unified forbidden response.
sourceraw docstring

as-incorrectclj/s

(as-incorrect x)
(as-incorrect x meta)

Returns unified incorrect response.

Returns unified incorrect response.
sourceraw docstring

as-interruptedclj/s

(as-interrupted x)
(as-interrupted x meta)

Returns unified interrupted response.

Returns unified interrupted response.
sourceraw docstring

as-not-foundclj/s

(as-not-found x)
(as-not-found x meta)

Returns unified not-found response.

Returns unified not-found response.
sourceraw docstring

as-responseclj/s

(as-response x {:keys [error? type meta]})

Returns unified response.

Returns unified response.
sourceraw docstring

as-successclj/s

(as-success x)
(as-success x meta)

Returns unified success response.

Returns unified success response.
sourceraw docstring

as-unauthorizedclj/s

(as-unauthorized x)
(as-unauthorized x meta)

Returns unified unauthorized response.

Returns unified unauthorized response.
sourceraw docstring

as-unavailableclj/s

(as-unavailable x)
(as-unavailable x meta)

Returns unified unavailable response.

Returns unified unavailable response.
sourceraw docstring

as-unknownclj/s

(as-unknown x)
(as-unknown x meta)

Returns unified unknown response.

Returns unified unknown response.
sourceraw docstring

as-unsupportedclj/s

(as-unsupported x)
(as-unsupported x meta)

Returns unified unsupported response.

Returns unified unsupported response.
sourceraw docstring

as-warningclj/s

(as-warning x)
(as-warning x meta)

Returns unified warning response.

Returns unified warning response.
sourceraw docstring

error?clj/s

(error? x)

Returns true if the given value is unified error response. Otherwise false.

Returns `true` if the given value is unified error response. Otherwise `false`.
sourceraw docstring

metaclj/s

(meta x)

Returns meta of unified response. Otherwise nil.

Returns `meta` of unified response. Otherwise `nil`.
sourceraw docstring

response?clj/s

(response? x)

Returns true if the given value is unified response. Otherwise false.

Returns `true` if the given value is unified response. Otherwise `false`.
sourceraw docstring

typeclj/s

(type x)

Returns type of unified response. Otherwise nil.

Returns `type` of unified response. Otherwise `nil`.
sourceraw docstring

UnifiedResponseclj/sprotocol

UnifiedResponse protocol.

UnifiedResponse protocol.

-error?clj/s

(-error? this)

Returns true if the given value is unified error response. Otherwise false.

Returns `true` if the given value is unified error response. Otherwise `false`.

-metaclj/s

(-meta this)

Returns meta of unified response.

Returns `meta` of unified response.

-response?clj/s

(-response? this)

Returns true if the given value is unified response. Otherwise false.

Returns `true` if the given value is unified response. Otherwise `false`.

-typeclj/s

(-type this)

Returns type of unified response.

Returns `type` of unified response.
sourceraw docstring

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

× close