Skip to content

Commit

Permalink
Rename render errors files for better dx (only one render.cljs in the…
Browse files Browse the repository at this point in the history
… project)
  • Loading branch information
mk committed Oct 9, 2024
1 parent 3835df3 commit ab78e06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns errors.render)
(ns errors.render-botched)

boom

Expand Down
Original file line number Diff line number Diff line change
@@ -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))))

Expand Down

0 comments on commit ab78e06

Please sign in to comment.