(bad-request? e)(data-invalid? e)(json-response status body)Inputs: [status :- schema/Int body :- schema/Any] Returns: RingResponse
Inputs: [status :- schema/Int body :- schema/Any] Returns: RingResponse
(plain-response status body)Inputs: [status :- schema/Int body :- schema/Str] Returns: RingResponse
Inputs: [status :- schema/Int body :- schema/Str] Returns: RingResponse
(schema-error? e)(service-unavailable? e)(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
(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
(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
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |