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 is a website building & hosting documentation for Clojure/Script libraries

× close