awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
dtolnay avatar

dtolnay/anyhow

0
View on GitHub↗
6,569 Stars·212 Forks·Rust·Apache-2.0·4 Aufrufe

Anyhow

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 generic containers through downcasting and supports the generation of ad hoc errors using string interpolation.

Features

  • Error Type Unifications - Provides a dynamic error container that wraps diverse failure types into a single trait object to simplify function signatures.
  • Dynamic Error Containers - Provides a trait-object based wrapper for managing diverse error types without custom enums.
  • Error Handling - Implements a dynamic error type for capturing and propagating any Rust error implementing the standard trait.
  • Type-Erasure Error Containers - Wraps diverse error types into a single dynamic type using trait-object based erasure.
  • Error Contextualization - Enriches errors with source location and high-level diagnostic metadata.
  • Heap-Allocated Error Containers - Uses heap allocation to allow diverse error types to be handled by a single uniform container.
  • Standardized Error Traits - Manages disparate error types through a dynamic trait object implementing the standard Error trait.
  • Error Propagation Systems - Simplifies the propagation of various error types without requiring exhaustive custom enums.
  • Error Wrapping - Nests errors within a recursive structure to append high-level diagnostic context.
  • Error Object Downcasters - Enables casting a generic error trait object back to its original concrete type.
  • Rust Application Debugging - Captures backtraces and diagnostic information to identify the cause and location of failures.
  • Ad Hoc Error Generation - Provides a mechanism to generate formatted error messages without defining a custom type.
  • Runtime Failure Backtrace Capturers - Automatically captures the execution stack at the point of failure for debugging.
  • Ad Hoc Error Generation - Generates one-off error messages using string interpolation for rapid failure reporting.

Star-Verlauf

Star-Verlauf für dtolnay/anyhowStar-Verlauf für dtolnay/anyhow

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht dtolnay/anyhow?

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.

Was sind die Hauptfunktionen von dtolnay/anyhow?

Die Hauptfunktionen von dtolnay/anyhow sind: Error Type Unifications, Dynamic Error Containers, Error Handling, Type-Erasure Error Containers, Error Contextualization, Heap-Allocated Error Containers, Standardized Error Traits, Error Propagation Systems.

Welche Open-Source-Alternativen gibt es zu dtolnay/anyhow?

Open-Source-Alternativen zu dtolnay/anyhow sind unter anderem: dtolnay/thiserror — thiserror is a Rust error handling library and procedural macro designed to define custom error types. It functions as… rust-lang/rust-by-example — This project is an interactive programming education resource and tutorial designed for learning the Rust programming… rust-lang/rfcs — The Rust RFCs repository is the formal home for the Rust language evolution process, housing the structured design… pkg/errors — pkg/errors is a Go library that provides primitives for creating, annotating, and inspecting errors with stack traces… c3lang/c3c — c3c is the compiler for the C3 programming language, transforming source code into executable binaries, static… rust-lang/book — The Rust Programming Language Book is the official technical guide and educational resource for the Rust language. It…

Open-Source-Alternativen zu Anyhow

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Anyhow.
  • dtolnay/thiserrorAvatar von dtolnay

    dtolnay/thiserror

    5,459Auf GitHub ansehen↗

    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

    Rust
    Auf GitHub ansehen↗5,459
  • rust-lang/rust-by-exampleAvatar von rust-lang

    rust-lang/rust-by-example

    8,026Auf GitHub ansehen↗

    This project is an interactive programming education resource and tutorial designed for learning the Rust programming language and systems programming concepts. It provides a collection of runnable and editable code examples that serve as a practical reference for language syntax and implementation. The resource features an interactive code sandbox that allows users to execute and test code snippets in real time. It emphasizes the verification of technical accuracy by executing embedded code blocks during the build process to ensure all examples remain functional. The content covers a compre

    Handlebars
    Auf GitHub ansehen↗8,026
  • rust-lang/rfcsAvatar von rust-lang

    rust-lang/rfcs

    6,406Auf GitHub ansehen↗

    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

    Markdownrfcrfc-processrust
    Auf GitHub ansehen↗6,406
  • pkg/errorsAvatar von pkg

    pkg/errors

    8,258Auf GitHub ansehen↗

    pkg/errors is a Go library that provides primitives for creating, annotating, and inspecting errors with stack traces and contextual information. Its core identity centers on capturing the call stack at the point of error creation or wrapping, preserving that information for later debugging and root cause analysis. The library distinguishes itself through a set of tightly integrated capabilities for error handling. It supports wrapping errors with descriptive messages while recording a new stack trace at the wrapping point, annotating existing errors with either a message or a stack trace ind

    Go
    Auf GitHub ansehen↗8,258
  • Alle 30 Alternativen zu Anyhow anzeigen→