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

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

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

4 个仓库

Awesome GitHub RepositoriesMachine-Readable Error Codes

Returning structured error codes from validation failures so callers can programmatically handle specific issues.

Distinct from Validation Error Customizations: Distinct from Validation Error Customizations: focuses on returning structured error codes for programmatic handling, not on customizing error messages.

Explore 4 awesome GitHub repositories matching software engineering & architecture · Machine-Readable Error Codes. Refine with filters or upvote what's useful.

Awesome Machine-Readable Error Codes GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • jackocnr/intl-tel-inputjackocnr 的头像

    jackocnr/intl-tel-input

    8,221在 GitHub 上查看↗

    intl-tel-input is an international telephone input widget that provides a country-aware phone number entry experience with automatic formatting, validation, and E.164 normalization. It combines a searchable country picker with a format-as-you-type engine and a validation rule engine that checks numbers against country-specific patterns, returning machine-readable error codes when a number is invalid. The project ships as both a zero-dependency vanilla JavaScript library and as framework-specific components for React, Vue, Angular, and Svelte, all sharing the same core logic through a framewor

    Returns machine-readable error codes when phone number validation fails for custom error handling.

    TypeScriptangularformattinginput
    在 GitHub 上查看↗8,221
  • twitchtv/twirptwitchtv 的头像

    twitchtv/twirp

    7,517在 GitHub 上查看↗

    Twirp 是一个 Protocol Buffers RPC 框架,旨在实现基于 HTTP 的类型安全、分布式微服务通信。它作为一个微服务通信框架和 API 代码生成器,从模式定义中生成强类型的客户端存根和服务器接口,以消除手动网络样板代码。 该框架通过在标准 HTTP 传输上执行远程过程调用,确保与现有 Web 基础设施的兼容性。它使用模式驱动的契约作为单一事实来源,以实现跨语言互操作性并将业务逻辑与网络传输解耦。 该系统涵盖了几个核心能力领域,包括接口驱动的路由、支持 JSON 和二进制的多格式数据序列化,以及用于横切关注点的请求生命周期中间件。它还提供了一个标准化的错误映射系统,将服务故障转换为机器可读的代码,并包括用于客户端兼容性验证的工具。

    Sends structured error responses containing both machine-readable codes and human-readable descriptive messages.

    Go
    在 GitHub 上查看↗7,517
  • 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

    Ships a convention of returning negative error codes that map to documented constants for diagnosing USB communication failures.

    C
    在 GitHub 上查看↗6,085
  • rmosolgo/graphql-rubyrmosolgo 的头像

    rmosolgo/graphql-ruby

    5,448在 GitHub 上查看↗

    GraphQL-Ruby is a Ruby library for building GraphQL APIs with a strongly typed schema and a dedicated query execution engine. It provides a comprehensive framework for mapping application objects to a formal type system, enabling structured data fetching through defined resolvers. The project distinguishes itself with advanced performance and delivery mechanisms, including a data loader for batching and caching to prevent N+1 query patterns. It supports high-performance data delivery through incremental response streaming, deferred query responses, and parallel data fetching using fibers. Add

    Attaches structured error responses containing machine-readable codes and custom metadata to the response JSON.

    Ruby
    在 GitHub 上查看↗5,448
  1. Home
  2. Software Engineering & Architecture
  3. Validation Error Customizations
  4. Machine-Readable Error Codes

探索子标签

  • Structured Error ResponsesError responses containing both machine-readable codes and human-readable messages. **Distinct from Machine-Readable Error Codes:** Distinct from Machine-Readable Error Codes: focuses on the inclusion of human-readable messages alongside codes, not just the codes themselves.
  • USB Error Code InterpretersUtilities that map negative integer error codes from USB function calls to human-readable constant names for debugging. **Distinct from Machine-Readable Error Codes:** Distinct from Machine-Readable Error Codes: focuses on mapping USB-specific error codes to readable names, not general structured error code systems.