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
·

28 Repos

Awesome GitHub RepositoriesError Handling Patterns

Architectural approaches where errors are treated as explicit return values requiring mandatory handling.

Distinguishing note: Focuses on value-based error propagation rather than exception-based control flow.

Explore 28 awesome GitHub repositories matching software engineering & architecture · Error Handling Patterns. Refine with filters or upvote what's useful.

Awesome Error Handling Patterns GitHub Repositories

Finde die besten Repos mit KI.Wir suchen mit KI nach den am besten passenden Repositories.
  • facebook/reactAvatar von facebook

    facebook/react

    245,669Auf GitHub ansehen↗

    React ist eine JavaScript-Bibliothek für den Aufbau von Benutzeroberflächen, basierend auf einer komponentenorientierten Architektur und unidirektionalem Datenfluss.

    React returns backend validation errors as part of the state or throws exceptions to trigger error boundaries for unexpected failures.

    JavaScriptjavascriptuifrontend
    Auf GitHub ansehen↗245,669
  • go-gorm/gormAvatar von go-gorm

    go-gorm/gorm

    39,798Auf GitHub ansehen↗

    GORM is a developer-focused object-relational mapping library for Go that provides a comprehensive data persistence framework. It serves as a database access layer, allowing developers to map application structures to database tables and perform CRUD operations using a fluent, type-safe query builder instead of writing raw SQL. The library distinguishes itself through its association-aware persistence, which automatically tracks and synchronizes complex entity relationships during database operations. It utilizes a driver-agnostic interface to maintain consistent behavior across various stora

    GORM perform write (create/update/delete) operations run inside a transaction to ensure data consistency, you can disable it during initialization if it is not required, you will gain about 30%+ performance improvement a

    Gogogolanggorm
    Auf GitHub ansehen↗39,798
  • simdjson/simdjsonAvatar von simdjson

    simdjson/simdjson

    23,260Auf GitHub ansehen↗

    simdjson is a high-performance, header-only C++ library designed for parsing, querying, and serializing JSON data with minimal memory overhead. It functions as a hardware-aware data processing engine that leverages vector instructions to achieve gigabyte-per-second parsing speeds. By detecting host processor capabilities at runtime, the library automatically selects the most efficient instruction sets to accelerate structural analysis and validation. The library distinguishes itself through a focus on extreme efficiency and resource management. It utilizes memory mapping and padded buffer ali

    Returns structured error codes instead of exceptions to provide predictable and safe failure reporting during parsing operations.

    C++aarch64arm64avx2
    Auf GitHub ansehen↗23,260
  • prefecthq/fastmcpAvatar von PrefectHQ

    PrefectHQ/fastmcp

    22,994Auf GitHub ansehen↗

    FastMCP is a Python framework designed for building servers that expose functions, resources, and prompts to AI models using the Model Context Protocol. It simplifies the development process by automatically deriving tool metadata, input schemas, and documentation directly from Python function signatures and type hints. The framework provides a unified container for managing these components, allowing developers to build modular applications that integrate seamlessly with AI assistants. The project distinguishes itself through its support for interactive, server-defined user interface compone

    Returns structured error information from tool executions to the model, allowing for programmatic recovery instead of simple failure.

    Pythonagentsfastmcpllms
    Auf GitHub ansehen↗22,994
  • gleam-lang/gleamAvatar von gleam-lang

    gleam-lang/gleam

    21,606Auf GitHub ansehen↗

    Gleam is a statically typed, functional programming language designed for building scalable and maintainable applications. It operates as a cross-platform development ecosystem that compiles source code to run on the Erlang virtual machine or within JavaScript environments. The language integrates a package manager and build system that automates dependency resolution, project compilation, and the generation of software bills of materials. The language distinguishes itself through a focus on type-driven domain modeling and a robust foreign function interface framework. By encoding business ru

    Uses dedicated result types for fallible operations to ensure consistency and eliminate unexpected runtime crashes.

    Rustcompilererlanggleam
    Auf GitHub ansehen↗21,606
  • leptos-rs/leptosAvatar von leptos-rs

    leptos-rs/leptos

    20,993Auf GitHub ansehen↗

    Leptos is a full-stack Rust web framework designed for building reactive applications that share logic and types between the server and the browser. It provides a comprehensive toolkit for developing web interfaces where specific DOM nodes update automatically in response to changes in underlying reactive signals, rather than re-rendering entire component trees. The framework distinguishes itself through a fine-grained reactivity model that tracks dependencies at the individual data point level. It utilizes compile-time template transformation to convert declarative HTML-like syntax into opti

    Maps server-side errors to domain-specific types for consistent network-level error handling.

    Rustdomfine-grainedisomorphic
    Auf GitHub ansehen↗20,993
  • rust-lang/bookAvatar von rust-lang

    rust-lang/book

    17,930Auf GitHub ansehen↗

    The Rust Programming Language Book is the official technical guide and educational resource for the Rust language. It provides a comprehensive walkthrough of the language's design, focusing on its core identity as a systems programming language that enforces memory safety and high-performance execution without the need for a garbage collector. The project is distinguished by its focus on ownership, borrowing, and lifetime tracking, which allow the compiler to verify memory safety and thread safety at compile time. It covers the language's unique approach to zero-cost abstractions, including t

    Implements explicit, value-based error propagation to simplify control flow and ensure mandatory handling.

    Rustbookmdbookrust
    Auf GitHub ansehen↗17,930
  • geektutu/7days-golangAvatar von geektutu

    geektutu/7days-golang

    16,812Auf GitHub ansehen↗

    This project is an educational framework designed to teach the fundamentals of building core distributed systems and web services from scratch in Go. It provides a collection of modular implementations that demonstrate how to construct essential infrastructure components, including web servers, remote procedure call systems, distributed caches, and database abstraction layers. The framework distinguishes itself by focusing on the internal mechanics of these systems rather than providing a high-level abstraction for production use. It covers the implementation of complex architectural patterns

    The framework uses a result-based mechanism to handle recoverable errors explicitly, providing operators to propagate errors or trigger controlled panics for unrecoverable failures.

    Gogolanglearningscratch
    Auf GitHub ansehen↗16,812
  • sairyss/domain-driven-hexagonAvatar von Sairyss

    Sairyss/domain-driven-hexagon

    14,395Auf GitHub ansehen↗

    This project is a TypeScript-based architectural framework designed to implement domain-driven design and hexagonal architecture in enterprise applications. It provides a structured boilerplate that isolates core business logic from infrastructure concerns, ensuring that domain entities, use cases, and external technology adapters remain decoupled and maintainable. The framework distinguishes itself by enforcing strict architectural boundaries and dependency inversion, preventing unauthorized access to core logic from external layers. It utilizes a command-query responsibility segregation pat

    Returns explicit error types instead of throwing exceptions to make failure states visible and manageable within the application flow.

    TypeScriptarchitectural-patternsarchitecturebackend
    Auf GitHub ansehen↗14,395
  • reactjs/react.devAvatar von reactjs

    reactjs/react.dev

    11,765Auf GitHub ansehen↗

    React is a JavaScript library for building user interfaces through the composition of modular, self-contained components. It employs a declarative programming model where developers describe the desired visual state, and the library automatically manages the underlying document updates and state synchronization. By utilizing a virtual representation of the document, it calculates and applies minimal changes to the browser, ensuring efficient rendering even in complex applications. The library distinguishes itself through a sophisticated scheduling system that manages rendering work in increme

    Handles application errors by returning validation failures as state or propagating unexpected exceptions to boundaries for centralized reporting.

    JavaScriptdocumentationjavascriptreact
    Auf GitHub ansehen↗11,765
  • senchalabs/connectAvatar von senchalabs

    senchalabs/connect

    9,888Auf GitHub ansehen↗

    Connect is an HTTP middleware framework and routing library designed as a wrapper for the Node.js HTTP server. It serves as a middleware composition engine that allows for the creation of chains of request handlers to process HTTP traffic and manage application errors. The framework enables the orchestration of pluggable functions to execute security, logic, and routing rules in a specific sequence. It provides the ability to match incoming request URLs to specific logic handlers based on path prefixes. The system covers broader capabilities including centralized error handling to ensure con

    Implements the error-first callback pattern to propagate failures through the middleware chain.

    JavaScriptjavascriptnodejs
    Auf GitHub ansehen↗9,888
  • a8m/golang-cheat-sheetAvatar von a8m

    a8m/golang-cheat-sheet

    8,802Auf GitHub ansehen↗

    This project is a Go language cheat sheet and technical reference designed for rapid lookup of syntax patterns and core language features. It serves as a concise programming guide to Go type systems, tokens, and standard programming constructs. The reference covers foundational areas of the language, including concurrency and parallelism through the use of channels and lightweight threads. It also details data modeling using structs and embedding, as well as the language's approach to explicit error handling via return values. Additional guidance is provided on Go application architecture an

    Explains the pattern of treating errors as explicit return values for mandatory handling.

    cheat-sheetscheatsheetgo
    Auf GitHub ansehen↗8,802
  • xxjwxc/uber_go_guide_cnAvatar von xxjwxc

    xxjwxc/uber_go_guide_cn

    8,172Auf GitHub ansehen↗

    This project is a translated Go language style guide and programming standard. It provides a collection of coding standards and best practices designed to ensure that Go code remains maintainable, readable, and efficient. The guide focuses on idiomatic patterns for error handling, interface compliance, and memory optimization. It establishes standards for package naming and the use of functional options to maintain backward compatibility in constructors. It covers a broad range of capabilities, including concurrency management for coordinating process lifecycles and preventing resource leaks

    Defines idiomatic architectural approaches for treating errors as explicit return values and wrapping them for context.

    chinesecngo
    Auf GitHub ansehen↗8,172
  • swiftuix/swiftuixAvatar von SwiftUIX

    SwiftUIX/SwiftUIX

    8,067Auf GitHub ansehen↗

    SwiftUIX is a framework extension and component library that provides specialized layout tools and native platform bridges for SwiftUI. It functions as a declarative toolkit for building macOS and iOS applications by adding missing native components and expanded interface elements to the standard library. The project focuses on bridging declarative state to native imperative APIs, particularly for macOS desktop interfaces. It includes specialized controls for window visibility, navigation bar appearance, and system status bar integration, as well as tools for managing system activity controll

    Implements safe execution blocks for button interactions that can throw errors to ensure application stability.

    Swiftattributedstringbackwards-compatibilitycollection-view
    Auf GitHub ansehen↗8,067
  • 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

    Demonstrates architectural patterns where errors are explicit return values requiring mandatory handling.

    Handlebars
    Auf GitHub ansehen↗8,026
  • teivah/100-go-mistakesAvatar von teivah

    teivah/100-go-mistakes

    7,915Auf GitHub ansehen↗

    100 Go Mistakes is a reference book and code review companion that catalogues frequent Go programming anti-patterns and provides corrected implementations for each one. It covers a wide range of common pitfalls, from range loop variable capture and interface nil handling to error wrapping and map iteration randomization, helping developers recognize and avoid these issues in their own code. The project distinguishes itself by offering a structured, example-driven approach to learning idiomatic Go. It covers core design decisions such as when to use pointer versus value receivers, how to apply

    Teaches Go's value-based error handling with wrapping, checking, and explicit ignoring.

    Gobookchinesedocumentation
    Auf GitHub ansehen↗7,915
  • elm/compilerAvatar von elm

    elm/compiler

    7,794Auf GitHub ansehen↗

    This project is a functional programming compiler and JavaScript transpiler that transforms a statically typed language into optimized JavaScript for web browsers. It serves as a frontend architecture framework, providing a static type system and a package manager that enforces semantic versioning. The compiler uses a type-checking engine with automatic type inference to prevent runtime errors and guide code refactoring. It implements a structural pattern for managing application state and rendering user interfaces through a virtual DOM, utilizing immutable data and purity-based state transit

    Uses custom types to represent failure states and forces handling via pattern matching.

    Haskellcompilerelm
    Auf GitHub ansehen↗7,794
  • webmozarts/assertAvatar von webmozarts

    webmozarts/assert

    7,648Auf GitHub ansehen↗

    This PHP assertion library is a runtime data validator used to verify method inputs and outputs. It provides a toolkit for validating data types, numeric ranges, and string patterns during program execution to prevent invalid states. The project serves as a static analysis helper by providing type hints and annotations that improve the accuracy of formal verification tools. It includes a collection validation utility for applying rules across arrays or iterable collections, and a filesystem validation tool to verify path existence and read or write permissions. The library covers a broad ran

    Uses callables to delay the computation of failure messages until an actual validation error occurs.

    PHP
    Auf GitHub ansehen↗7,648
  • piglei/one-python-craftsmanAvatar von piglei

    piglei/one-python-craftsman

    7,211Auf GitHub ansehen↗

    This project is a comprehensive Python coding guide and software engineering resource focused on professional development practices. It provides a detailed collection of idiomatic techniques, design patterns, and architectural strategies to improve code quality and maintainability. The guide emphasizes advanced design patterns such as dependency injection, data-driven design, and the application of SOLID principles for object-oriented design. It distinguishes itself by covering sophisticated structural strategies, including class-based decorators, the separation of interfaces from implementat

    Implements the EAFP pattern to manage boundary cases and missing data efficiently in Python.

    articlesbookpython
    Auf GitHub ansehen↗7,211
  • unisonweb/unisonAvatar von unisonweb

    unisonweb/unison

    6,487Auf GitHub ansehen↗

    Provides abort-based error handling where failures are silently converted to Optional values through ability handlers.

    Haskellhacktoberfesthaskellprogramming-language
    Auf GitHub ansehen↗6,487
Vorherige12Nächste
  1. Home
  2. Software Engineering & Architecture
  3. Error Handling Patterns

Unter-Tags erkunden

  • Abort-Based HandlersError handling patterns where computations stop silently and produce an Optional result via a handler. **Distinct from Error Handling Patterns:** Distinct from Error Handling Patterns: focuses on silent abort via handlers rather than general value-based error propagation.
  • Action Error Handlers1 Sub-TagPatterns for propagating and managing backend validation errors within component state or error boundaries. **Distinct from Error Handling Patterns:** Distinct from general error handling: specifically focuses on the integration of backend validation results into the component state lifecycle.
  • Deferred Error Handling1 Sub-TagHandles or propagates errors from deferred functions, or uses the blank identifier to ignore them intentionally. **Distinct from Error Handling Patterns:** Distinct from Error Handling Patterns: focuses specifically on error handling within deferred function calls, not general error propagation.
  • EAFP PatternsThe Easier to Ask for Forgiveness than Permission approach to error handling using try-except blocks. **Distinct from Error Handling Patterns:** Specifically implements the EAFP philosophy, contrasting with the 'look before you leap' (LBYL) check-based patterns.
  • Exception Handling AnalysisStatic analysis of rescue blocks to ensure proper exception types are caught. **Distinct from Error Handling Patterns:** Distinct from Error Handling Patterns: focuses on the analysis of existing rescue blocks rather than the implementation of error propagation strategies.
  • Python Exception Patterns1 Sub-TagBest practices for safe exception management and resource handling using Python's built-in types. **Distinct from Error Handling Patterns:** Specifically addresses Python's exception-based flow and context managers rather than generic value-based error propagation.