Liking cljdoc? Tell your friends :D

puppetlabs.analytics.middleware


json-responseclj

(json-response status-code body)
source

wrap-error-catchallclj

(wrap-error-catchall handler)

Wrap the handler in a try/catch that swallows any throwable and returns a 500 to the client with the throwable's error message.

Wrap the handler in a try/catch that swallows any throwable and returns a 500
to the client with the throwable's error message.
sourceraw docstring

wrap-invalid-jsonclj

(wrap-invalid-json handler)
source

wrap-schema-errorsclj

(wrap-schema-errors handler)

Middleware to handle schema validation failures.

Middleware to handle schema validation failures.
sourceraw docstring

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

× close