Skip to main content

Crate trackerr

Crate trackerr 

Source
Expand description

A library for enhanced error handling with frame capture and context.

This library provides a mechanism to manually capture error contexts (frames) and display them in a structured manner. The main components include:

  • Error: A wrapper around a generic error that captures the location and additional context.
  • Result: A type alias for Result<T, Error<E>> to simplify error handling.

Structs§

Error
A wrapper around a generic error that captures the location and additional context.
Frame
A struct representing a captured frame during error handling.

Traits§

ErrorExt
Extension trait for errors to convert them into tracked Error<E> types.
ResultExt
Extension trait for Result to add location tracking when converting errors.

Type Aliases§

Result
A type alias for results that use the Error type.