diff --git a/notebooks/errors/render.cljs b/notebooks/errors/render_botched.cljs similarity index 57% rename from notebooks/errors/render.cljs rename to notebooks/errors/render_botched.cljs index c228fcc65..21eca9dc9 100644 --- a/notebooks/errors/render.cljs +++ b/notebooks/errors/render_botched.cljs @@ -1,4 +1,4 @@ -(ns errors.render) +(ns errors.render-botched) boom diff --git a/notebooks/errors/boundaries.clj b/notebooks/errors/require_cljs_errors.clj similarity index 56% rename from notebooks/errors/boundaries.clj rename to notebooks/errors/require_cljs_errors.clj index ca51e6de3..22ca2bf7d 100644 --- a/notebooks/errors/boundaries.clj +++ b/notebooks/errors/require_cljs_errors.clj @@ -1,13 +1,11 @@ -;; # 😩 Errors +;; # 💣 Render Errors -(ns boundaries +(ns require-cljs-errors (:require [nextjournal.clerk :as clerk] [nextjournal.clerk.viewer :as v])) -#_boom - -#_(clerk/with-viewer {:require-cljs true - :render-fn 'errors.render/test} 1) +(clerk/with-viewer {:require-cljs true + :render-fn 'errors.render-botched/test} 1) #_(try (/ 1 0) (catch Exception e (throw (ex-info "boom!" {:foo :bar} e))))