No vars found in this namespace.
No vars found in this namespace.
HTTP-related exceptions.
When used in conjunction with the org.euandreh.http.interceptors/catch interceptor, these exceptions can be used to stop the control flow of the handling code and return a proper error message and status code to the client.
(exception/forbidden! {...}) throws an ExceptionInfo with metadata attached to it that org.euandreh.http.interceptors/catch knows how to find, and return a 403 status code with the Forbidden message.
HTTP-related exceptions.
When used in conjunction with the `org.euandreh.http.interceptors/catch` interceptor, these exceptions can be used to stop the control flow of the handling code and return a proper error message and status code to the client.
`(exception/forbidden! {...})` throws an ExceptionInfo with metadata attached to it that `org.euandreh.http.interceptors/catch` knows how to find, and return a 403 status code with the `Forbidden` 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 |