A simple response unifier.
A simple response unifier.
(as-accepted x)
(as-accepted x meta)
Returns unified accepted response.
Returns unified accepted response.
(as-busy x)
(as-busy x meta)
Returns unified busy response.
Returns unified busy response.
(as-conflict x)
(as-conflict x meta)
Returns unified conflict response.
Returns unified conflict response.
(as-created x)
(as-created x meta)
Returns unified created response.
Returns unified created response.
(as-deleted x)
(as-deleted x meta)
Returns unified deleted response.
Returns unified deleted response.
(as-error x)
(as-error x meta)
Returns unified error response.
Returns unified error response.
(as-exception x)
(as-exception x meta)
Returns unified exception response.
Returns unified exception response.
(as-forbidden x)
(as-forbidden x meta)
Returns unified forbidden response.
Returns unified forbidden response.
(as-incorrect x)
(as-incorrect x meta)
Returns unified incorrect response.
Returns unified incorrect response.
(as-interrupted x)
(as-interrupted x meta)
Returns unified interrupted response.
Returns unified interrupted response.
(as-not-found x)
(as-not-found x meta)
Returns unified not-found response.
Returns unified not-found response.
(as-response x {:keys [error? type meta]})
Returns unified response.
Returns unified response.
(as-success x)
(as-success x meta)
Returns unified success response.
Returns unified success response.
(as-unauthorized x)
(as-unauthorized x meta)
Returns unified unauthorized response.
Returns unified unauthorized response.
(as-unavailable x)
(as-unavailable x meta)
Returns unified unavailable response.
Returns unified unavailable response.
(as-unknown x)
(as-unknown x meta)
Returns unified unknown response.
Returns unified unknown response.
(as-unsupported x)
(as-unsupported x meta)
Returns unified unsupported response.
Returns unified unsupported response.
(as-warning x)
(as-warning x meta)
Returns unified warning response.
Returns unified warning response.
(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`.
(meta x)
Returns meta
of unified response. Otherwise nil
.
Returns `meta` of unified response. Otherwise `nil`.
(response? x)
Returns true
if the given value is unified response. Otherwise false
.
Returns `true` if the given value is unified response. Otherwise `false`.
(type x)
Returns type
of unified response. Otherwise nil
.
Returns `type` of unified response. Otherwise `nil`.
UnifiedResponse protocol.
UnifiedResponse protocol.
(-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`.
(-meta this)
Returns meta
of unified response.
Returns `meta` of unified response.
(-response? this)
Returns true
if the given value is unified response. Otherwise false
.
Returns `true` if the given value is unified response. Otherwise `false`.
(-type this)
Returns type
of unified response.
Returns `type` of unified response.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close