formaterrors

formaterrors  v0.0.3

formaterrors > formaterrors

Module: formaterrors

An API that provides various options for formatting and highlighting Errors. May be useful for logging and test frameworks for example. Stack lines can be filtered in and out based on patterns and limited by range (e.g. lines 2 through 10). Stack lines and error message can have highlights applied based on patterns. Finally stack lines can be formatted to include or exclude available fields. The API is quite flexible with a range of methods varying in level with means to specify custom highlights and formats.

This module contains the following classes:


Copyright © 2012 Allan Michael Boyd.