3 个仓库
Libraries that provide utilities for defining, propagating, and managing errors within a specific programming language.
Distinct from Generalized Error Handling for Custom Types: None of the candidates represent general error handling libraries for Rust.
Explore 3 awesome GitHub repositories matching programming languages & runtimes · Error Handling Libraries. Refine with filters or upvote what's useful.
thiserror is a Rust error handling library and procedural macro designed to define custom error types. It functions as a trait implementation automator that generates the necessary code for standard library error traits at compile time. The library focuses on eliminating boilerplate by using derive macros to automatically implement display and source methods. It allows for the creation of custom error structs and enums that can map low-level errors to high-level variants while preserving the original cause and backtrace information. Its capabilities cover custom error formatting through temp
Provides a comprehensive framework for defining custom error types in Rust using derive macros.
This library provides a comprehensive framework for managing errors in JavaScript and TypeScript applications. It enables the creation of structured, type-safe error hierarchies, allowing developers to define custom error classes that ensure consistent behavior and categorization across a codebase. The project distinguishes itself through a modular plugin architecture that allows for the extension of core error functionality, such as custom logging, serialization, and validation. It includes an exception normalization pipeline that converts non-standard or malformed errors into predictable in
Provides a comprehensive framework for defining, wrapping, and normalizing custom error classes in JavaScript and TypeScript.
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
Wraps errors with execution stack traces and context in Go applications.