API for clojure.stacktrace - Clojure v1.13.0 (in development)

by Stuart Sierra

Full namespace name: clojure.stacktrace

Overview

Print stack traces oriented towards Clojure, not Java.

Public Variables and Functions



e

function
Usage: (e)
REPL utility.  Prints a brief stack trace for the root cause of the
most recent exception.

    Added in Clojure version 1.1
Source


print-cause-trace

function
Usage: (print-cause-trace tr)
       (print-cause-trace tr n)
Like print-stack-trace but prints chained exceptions (causes).

    Added in Clojure version 1.1
Source


print-stack-trace

function
Usage: (print-stack-trace tr)
       (print-stack-trace tr n)
Prints a Clojure-oriented stack trace of tr, a Throwable.
Prints a maximum of n stack frames (default: unlimited).
Does not print chained exceptions (causes).

    Added in Clojure version 1.1
Source


print-throwable

function
Usage: (print-throwable tr)
Prints the class and message of a Throwable. Prints the ex-data map
if present.

    Added in Clojure version 1.1
Source


print-trace-element

function
Usage: (print-trace-element e)
Prints a Clojure-oriented view of one element in a stack trace.

    Added in Clojure version 1.1
Source


root-cause

function
Usage: (root-cause tr)
Returns the last 'cause' Throwable in a chain of Throwables.

    Added in Clojure version 1.1
Source
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy