Liking cljdoc? Tell your friends :D

errors.prettify-exception


create-spec-errorsclj

(create-spec-errors ex-str data)

Takes the message and data from a spec error and returns a modified message

Takes the message and data from a spec error and returns a modified message
sourceraw docstring

first-matchclj

(first-match e-class message)
source

fn-nameclj

(fn-name f)

Takes a function object and returns a symbol that corresponds to the result of the lookup of its name. If no name is found, a symbol 'anonymous function' (non-conformant) is returned. Handles spec-checking functions differently since they are looked up in corefns-map by full name. Warning: 'anonymous function' symbol is non-conformant

Takes a function object and returns a symbol that corresponds to the result of
the lookup of its name.
If no name is found, a symbol 'anonymous function' (non-conformant)
is returned.
Handles spec-checking functions differently since they are looked up in corefns-map
by full name.
Warning: 'anonymous function' symbol is non-conformant
sourceraw docstring

get-exception-class-and-restclj

(get-exception-class-and-rest ex-str)

returns a vector containing the class and then the message without the class marking

returns a vector containing the class and then the message without the class marking
sourceraw docstring

get-matchclj

(get-match e-class message)
source

get-sum-textclj

(get-sum-text msg-obj)
source

ignored-nsclj

source

is-function?clj

(is-function? v)

Uses our dictionary to check if a value should be printed as a function

Uses our dictionary to check if a value should be printed as a function
sourceraw docstring

line-number-formatclj

(line-number-format line ch)

Takes a line number and a character position and returns a string of how they are reported in an error message

Takes a line number and a character position and returns a string
of how they are reported in an error message
sourceraw docstring

lookup-fnsclj

(lookup-fns v)

Recursively replace internal Clojure function names with user-readable ones in the given value

Recursively replace internal Clojure function names with user-readable ones
in the given value
sourceraw docstring

msg-from-matched-entryclj

(msg-from-matched-entry entry message)
source

process-anotherclj

(process-another functname location ex-str)
source

process-errorsclj

(process-errors ex-str)

Takes a message from an exception as a string and returns a message object, to be displayed by the repl or IDE

Takes a message from an exception as a string and returns a message object,
to be displayed by the repl or IDE
sourceraw docstring

process-lengthclj

(process-length ex-str)
source

process-macro-errorsclj

(process-macro-errors err cause data)

Takes the message and data from a macro error and returns a modified message

Takes the message and data from a macro error and returns a modified message
sourceraw docstring

process-spec-errorsclj

(process-spec-errors ex-str data notmacro)

Processes spec errors according to if they are a macro or not

Processes spec errors according to if they are a macro or not
sourceraw docstring

process-stacktraceclj

(process-stacktrace err)

Takes an error and returns the location of the error

Takes an error and returns the location of the error
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close