Liking cljdoc? Tell your friends :D

clojure-commons.response


error-responseclj

(error-response resp-fn error-code & {:as kvs})

Builds an HTTP response with a standrd JSON error response body.

Builds an HTTP response with a standrd JSON error response body.
sourceraw docstring

forbiddenclj

(forbidden reason)

Returns an HTTP response indicating that the user is not permitted to access a resource.

Returns an HTTP response indicating that the user is not permitted to access a resource.
sourceraw docstring

unauthorizedclj

(unauthorized reason)

Returns an HTTP response indicating that the user is not authorized.

Returns an HTTP response indicating that the user is not authorized.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close