(decode-input spec input)
(ex-invalid-spec spec input)
(generate-ring-handler api-def handler)
(generate-ring-handler api-def
handler
{:keys [user-interceptors interceptor-chain
default-error-msg]
:or {default-error-msg "Internal error"
interceptor-chain default-interceptor-chain}})
(interceptor-map api-def handler)
An exhaustive list of error types thrown by the muntaaja library
An exhaustive list of error types thrown by the muntaaja library
(normalize {:keys [get-params body-params path-params handler] :as request})
(wrap-incorrect cause)
A function which will wrap an exception with an exception that derives ::ex/incorrect and ::ex/user-exposable, while copying messages and ex-data
A function which will wrap an exception with an exception that derives ::ex/incorrect and ::ex/user-exposable, while copying messages and ex-data
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close