exc: Exception Utilities

Table of Content:

Introduction

The exc: module provides utilities for working with exceptions.

Functions

exc:show

exc:show $e

Prints the exception to the output, showing its cause and stacktrace using VT sequences.

Example:

~> e = ?(fail lorem-ipsum)
~> exc:show $e
Exception: lorem-ipsum
[tty 3], line 1: e = ?(fail lorem-ipsum)