awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

6 个仓库

Awesome GitHub RepositoriesError Code to Exception Mapping

The process of transforming numeric system error codes into thrown language exceptions.

Distinct from Error-to-Exception Mappings: Candidates focus on cross-language async bridges or HTTP codes; this is a general C++/System API mapping.

Explore 6 awesome GitHub repositories matching software engineering & architecture · Error Code to Exception Mapping. Refine with filters or upvote what's useful.

Awesome Error Code to Exception Mapping GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • symfony/debugsymfony 的头像

    symfony/debug

    7,186在 GitHub 上查看↗

    The Symfony Debug component is a PHP debugging toolkit that converts PHP warnings and notices into exceptions for consistent runtime error handling. It provides a unified error management system by registering a global error handler that intercepts all PHP errors and forwards them to an exception-based pipeline. The component catches uncaught PHP exceptions and displays detailed stack traces enriched with file, line, and call chain context for developer visibility. It maps PHP error severity levels to corresponding exception types, enabling granular control over how different error conditions

    Maps PHP error severity levels to corresponding exception types for granular control.

    PHPcomponentphpsymfony
    在 GitHub 上查看↗7,186
  • libusb/libusblibusb 的头像

    libusb/libusb

    6,085在 GitHub 上查看↗

    libusb is a cross-platform user-space library that provides a consistent C API for discovering, configuring, and communicating with USB devices from applications. It abstracts operating-system-specific USB driver details behind a single interface that works on Linux, macOS, Windows, and other platforms, enabling developers to write portable USB code without platform-specific knowledge. The library supports both synchronous and asynchronous I/O models for USB transfers. Synchronous operations block the calling thread until a transfer completes, offering a straightforward sequential programming

    Returns negative integer error codes from all functions, enabling callers to diagnose failures without exceptions.

    C
    在 GitHub 上查看↗6,085
  • joho/7xx-rfcjoho 的头像

    joho/7XX-rfc

    4,547在 GitHub 上查看↗

    该项目是一个正式的 RFC 提案和技术规范,针对一系列新的 HTTP 状态码。它定义了一个开发人员错误标准,旨在区分 REST API 响应中的实现失败与标准客户端或服务器错误。 该规范提出了对 HTTP 协议的扩展,引入了状态码的保留数值范围。该系统将唯一的整数标识符映射到特定的实现错误,提供精确的诊断含义,并将开发人员错误与标准协议响应隔离开来,同时保持向后兼容性。 该标准通过为错误负载建立一致的响应模式,涵盖了 API 错误处理和开发人员调试工作流。这确保了在报告实现失败时不同 API 客户端和服务器之间的互操作性。

    Links unique integer codes to specific implementation failures to provide precise diagnostic meaning during API communication.

    Makefilerfcsatire
    在 GitHub 上查看↗4,547
  • connectrpc/connect-goconnectrpc 的头像

    connectrpc/connect-go

    3,963在 GitHub 上查看↗

    Connect-go 是一个用于构建与 gRPC 和 HTTP 线缆兼容的类型安全远程过程调用 (RPC) 服务的库。它提供了用于结构化数据交换的 Protocol Buffers 的 Go 实现,支持创建多协议 RPC 服务器和生成的类型安全客户端。 该框架以其多语言协议支持而著称,允许单个服务器处理程序通过 HTTP 同时使用多种不同协议处理请求。这包括在同一服务的不同传输协议之间切换的能力,以及使用可插拔内容协商在二进制和 JSON 编码之间进行选择。 该项目涵盖了广泛的 API 集成功能,包括一元和双向消息流、用于请求拦截的网络中间件以及结构化错误管理。它还包括用于服务健康报告、负载压缩和内存缓冲区回收的操作工具,以减少垃圾回收开销。

    Translates internal service failures into semantic error codes and metadata compatible with RPC standards.

    Go
    在 GitHub 上查看↗3,963
  • octokit/octokit.rboctokit 的头像

    octokit/octokit.rb

    3,945在 GitHub 上查看↗

    Octokit.rb is a Ruby client library and REST API wrapper used to programmatically interact with GitHub. It provides a structured interface for automating workflows, managing repositories, and transforming raw HTTP responses into Ruby objects. The library differentiates itself through hypermedia-driven navigation, which uses URI templates and link relations to discover resources dynamically. It also implements automated result pagination to combine paginated responses into single arrays and uses fingerprint-based caching to reduce redundant network requests. The tool covers a broad range of c

    Maps HTTP status codes from the GitHub API directly to a hierarchy of Ruby exception classes.

    Rubygithubgithub-apihacktoberfest
    在 GitHub 上查看↗3,945
  • microsoft/wilmicrosoft 的头像

    microsoft/wil

    2,884在 GitHub 上查看↗

    wil is a C++ wrapper library for the Windows API designed to simplify system development through RAII and exception handling. It provides a set of resource management tools, a framework for Windows error handling, and type-safe interfaces for registry access and networking. The library distinguishes itself by automating the conversion between system error codes and C++ exceptions, while providing utilities for contextual error message attachment and early return patterns. It also features specialized networking wrappers for socket initialization and hostname resolution, and a registry interfa

    Transforms system error codes into thrown exceptions to streamline error propagation.

    C++
    在 GitHub 上查看↗2,884
  1. Home
  2. Software Engineering & Architecture
  3. Error Code to Exception Mapping

探索子标签

  • Negative Error Code ReturnsReturning negative integer constants from every function call for callers to map to documented error names. **Distinct from Error Code to Exception Mapping:** Distinct from Error Code to Exception Mapping: uses negative integer returns directly, not exception translation.
  • Semantic Error Code MappingsMappings that link numeric error codes to specific semantic meanings of implementation failures. **Distinct from Error Code to Exception Mapping:** Distinct from error-to-exception mapping by focusing on the semantic meaning of the code itself across API communication.