CrossClj

1.10.0-alpha4 docs

SourceDocs



RECENT
    VARS
    e
    print-cause-trace
    print-stack-trace
    print-throwable
    print-trace-element
    root-cause

    « Index of all namespaces of this project

    Print stack traces oriented towards Clojure, not Java.
    

    — Stuart Sierra

    (e)
    REPL utility.  Prints a brief stack trace for the root cause of the
    most recent exception.
    (print-cause-trace tr)(print-cause-trace tr n)
    Like print-stack-trace but prints chained exceptions (causes).
    
    (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).
    (print-throwable tr)
    Prints the class and message of a Throwable.
    
    (print-trace-element e)
    Prints a Clojure-oriented view of one element in a stack trace.
    
    (root-cause tr)
    Returns the last 'cause' Throwable in a chain of Throwables.