3 Repos
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 ist eine Rust-Bibliothek für Fehlerbehandlung und ein prozedurales Makro, das darauf ausgelegt ist, benutzerdefinierte Fehlertypen zu definieren. Es fungiert als Automatisierungstool für Trait-Implementierungen, das den notwendigen Code für Standardbibliotheks-Fehler-Traits zur Kompilierzeit generiert. Die Bibliothek konzentriert sich auf die Eliminierung von Boilerplate durch die Verwendung von Derive-Makros, um Display- und Source-Methoden automatisch zu implementieren. Sie ermöglicht die Erstellung benutzerdefinierter Fehler-Structs und Enums, die Low-Level-Fehler auf High-Level-Varianten abbilden können, während die ursprüngliche Ursache und Backtrace-Informationen erhalten bleiben. Die Funktionen decken benutzerdefinierte Fehlerformatierung mittels Template-Interpolation, Verwaltung der Fehlerfortpflanzung und die Integration von Stack-Backtraces für das Debugging ab. Sie bietet zudem Mechanismen zur Automatisierung der Fehlerkonvertierung und zur Verfolgung von Fehlerursprüngen über designierte Felder.
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.