chickadee » thread-utils » print-exception-error

print-exception-error EXN #!optional THREAD PORT HEADERprocedure

Prints the error EXN and the current call chain. The message header is supplied by thread-warning-message. This routine duplicates the uncaught exception in a thread handling behavior of Chicken. Useful for caught exceptions that cannot in fact be handled.

The EXN is a condition or any other object. The default for THREAD is the (current-thread). The default for PORT is the (current-error-port). The default for HEADER is the "\n\tThread call history:\n".