2 Repos
Tools for enhancing standard errors with additional context, such as custom IDs and stack traces.
Distinct from Error Handling: Focuses on enriching error metadata for debugging rather than monadic or type-safe error handling strategies.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Error Wrapping Utilities. Refine with filters or upvote what's useful.
Lancet is a comprehensive extension of the Go standard library, providing a collection of reusable functions and data structures designed to reduce boilerplate code in applications. It serves as a general-purpose toolkit across multiple domains, including concurrency, security, networking, and functional logic. The project distinguishes itself through specialized toolkits for Go concurrency, such as keyed locking and channel-based stream processing, and a dedicated functional programming kit that supports currying and function composition. It also includes a dedicated cryptography library imp
Provides enhanced error handling by wrapping errors with custom IDs, messages, and stack traces for better debugging.
errors is a Go error handling library and stack trace utility that wraps standard errors with execution call stacks and contextual information. It captures program execution paths at the exact moment an error is initialized, extracting granular file paths, line numbers, and function symbols from raw program counter addresses. The library maintains parent-child relationships between wrapped errors to allow deep inspection, unwrapping of root causes, and combination of multiple errors into unified structures. It implements standard error interfaces so enhanced error objects can be used intercha
Constructs and wraps errors with custom messages, formatting strings, and stack depth skipping.