Liking cljdoc? Tell your friends :D

puppetlabs.ring-middleware.utils


bad-request?clj

(bad-request? e)
source

data-invalid?clj

(data-invalid? e)
source

json-responseclj

(json-response status body)

Inputs: [status :- schema/Int body :- schema/Any] Returns: RingResponse

Inputs: [status :- schema/Int body :- schema/Any]
Returns: RingResponse
sourceraw docstring

plain-responseclj

(plain-response status body)

Inputs: [status :- schema/Int body :- schema/Str] Returns: RingResponse

Inputs: [status :- schema/Int body :- schema/Str]
Returns: RingResponse
sourceraw docstring

ResponseTypeclj

source

RingRequestclj

source

RingResponseclj

source

schema-error?clj

(schema-error? e)
source

service-unavailable?clj

(service-unavailable? e)
source

throw-bad-request!clj

(throw-bad-request! message)

Throw a :bad-request type slingshot error with the supplied message

Throw a :bad-request type slingshot error with the supplied message
sourceraw docstring

throw-data-invalid!clj

(throw-data-invalid! message)

Throw a :data-invalid type slingshot error with the supplied message

Throw a :data-invalid type slingshot error with the supplied message
sourceraw docstring

throw-service-unavailable!clj

(throw-service-unavailable! message)

Throw a :service-unavailable type slingshot error with the supplied message

Throw a :service-unavailable type slingshot error with the supplied message
sourceraw docstring

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

× close