-
Notifications
You must be signed in to change notification settings - Fork 27
/
exception.clj
33 lines (27 loc) · 986 Bytes
/
exception.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
(ns io.aviso.exception
"A shim in org.clj-commons/pretty to emulate a few key functions from io.aviso/pretty.
This namespace may be deleted in a future release."
{:added "2.5.0"
:deprecated "2.5.0"}
(:require [clj-commons.format.exceptions :as e]))
(defn demangle
[^String s]
(e/demangle s))
(defn format-exception
([exception]
(e/format-exception exception))
([exception options]
(e/format-exception exception options)))
(defn write-exception
([exception]
(e/print-exception exception))
([exception options]
(e/print-exception exception options)))
(def ^:dynamic *default-frame-rules*
"This is provided only to prevent source compilation failures; changing this value does not affect
how the clj-commons.format.exceptions namespace operates."
[])
(def ^:dynamic *fonts*
"This is provided only to prevent source compilation failures; changing this value does not affect
how the clj-commons.format.exceptions namespace operates."
{})