7 repository-uri
Defines a common Error trait with description, detail, and cause methods that all error types implement.
Distinct from Error Handling: Distinct from Error Handling: specifically defines the standard Error trait interface, not general error handling patterns.
Explore 7 awesome GitHub repositories matching software engineering & architecture · Standardized Error Traits. Refine with filters or upvote what's useful.
Anyhow is a dynamic error handling library for Rust applications that provides a flexible error container using type erasure. It serves as a tool for simplifying error signatures by wrapping diverse failure types into a single object, allowing for the propagation of any error that implements the standard error trait without requiring a custom enumeration for every function. The project functions as an error context provider by attaching high-level diagnostic information and recording execution stack traces at the point of failure. It enables the recovery of concrete error implementations from
Provides a trait-object based wrapper for managing diverse error types without custom enums.
This project is a reference implementation of Domain-Driven Design, Clean Architecture, and Command Query Responsibility Segregation (CQRS) patterns using the Go programming language. It serves as a sample application to demonstrate how to decouple core domain rules from infrastructure and delivery mechanisms. The system is built as a gRPC microservices architecture, utilizing type-safe communication and service contracts. It implements an event-driven architecture to manage eventual consistency and asynchronous processing, specifically employing the Outbox pattern to ensure reliable messagin
Uses agnostic error types and slugs to communicate failures consistently regardless of the delivery mechanism.
The Rust RFCs repository is the formal home for the Rust language evolution process, housing the structured design documents and community review mechanisms that govern changes to the Rust programming language, its compiler, and its standard library. It defines the complete lifecycle for proposing, discussing, and implementing substantial changes through RFC documents, from initial submission and community feedback through final comment periods and sub-team sign-offs. The repository codifies the governance and collaboration processes that shape Rust's development, including mechanisms for com
Defines the standard Error trait with description, detail, and cause methods for all error types.
Inngest is a durable execution framework and event-driven automation engine designed to orchestrate background workflows. It enables developers to build resilient, stateful processes by memoizing function steps, ensuring that long-running tasks can automatically resume from the last successful operation after failures, timeouts, or infrastructure restarts. The platform distinguishes itself through its event-driven architecture, which uses a schema-validated bus to trigger functions and coordinate complex, multi-step logic. It employs an onion-model middleware approach for cross-cutting concer
Intercepts step failures to enable custom recovery logic and exception transformation.
Returns is a functional programming library for Python that provides type-safe containers for managing state, error handling, and optionality. It serves as a monadic container library and a type-safe error handling framework, replacing traditional try-catch blocks and null checks with Result and Optional containers to treat exceptions as data. The project is distinguished by its use of a specialized Mypy static analysis plugin to validate functional pipelines and emulate higher kinded types. It provides mechanisms for isolating side effects through IO containers and offers a framework for typ
Uses containers to represent success or failure, enabling a linear data flow without try-catch blocks.
SwiftTips este o colecție curatoriată de ghiduri, biblioteci și design patterns axate pe stăpânirea limbajului Swift, arhitectura aplicațiilor și designul de API-uri. Oferă o resursă tehnică pentru implementarea tehnicilor avansate de codare și a bunelor practici arhitecturale. Proiectul pune accent pe crearea de interfețe „type-safe” și conversaționale prin compoziția strategică a protocoalelor și generice. Oferă tipare specializate pentru construirea de sisteme UI modulare și gestionarea ierarhiilor complexe de view-uri, alături de strategii cuprinzătoare pentru unit testing și dependency injection. Resursa acoperă o gamă largă de capabilități, inclusiv primitive de programare funcțională, utilitare avansate pentru sistemul de tipuri și strategii de modelare a datelor. De asemenea, detaliază tehnici pentru gestionarea erorilor, gestionarea memoriei și dezvoltarea de interfețe responsive.
Defines a consistent error reporting interface to standardize how modules communicate failures.
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
Enhances standard errors with additional context and stack trace data without losing the original error message.