This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-23
Channels
- # babashka (2)
- # babashka-sci-dev (401)
- # beginners (10)
- # biff (6)
- # calva (6)
- # clj-on-windows (6)
- # cljfx (13)
- # clojure (91)
- # clojure-austin (1)
- # clojure-europe (6)
- # clojure-norway (11)
- # clojurescript (14)
- # clr (3)
- # docker (3)
- # emacs (2)
- # fulcro (21)
- # hyperfiddle (2)
- # membrane (30)
- # nbb (4)
- # pedestal (7)
- # polylith (16)
- # reitit (1)
- # sci (4)
- # xtdb (9)
I’m building a web-server that renders normal HTML. I’d like to use Malli and Coercion to validate things like form inputs, and get the validation errors sent to the handler. Right now the validation errors cause an exception to be thrown and it just returns a response back to the browser that the dumb HTML app doesn’t have the ability to react to. Is there away to short circuit this exception and pass the errors to the handler, ideally with the form values so I could re-render the form? I looked through the docks, and this slack for awhile but couldn’t find what I was looking for.