2 repository-uri
Wrappers that use trait objects to hold any error implementing a standard trait.
Distinct from Standardized Error Traits: Focuses on the container's ability to hold any error, rather than just the definition of the trait.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Dynamic Error Containers. 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.
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.