6 Repos
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.
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.
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.
Dieses Projekt ist ein formeller RFC-Vorschlag und eine technische Spezifikation für einen neuen Bereich von HTTP-Statuscodes. Es definiert einen Entwickler-Fehlerstandard, der darauf ausgelegt ist, Implementierungsfehler von Standard-Client- oder Serverfehlern innerhalb von REST-API-Antworten zu unterscheiden. Die Spezifikation schlägt eine Erweiterung des HTTP-Protokolls vor, die reservierte numerische Bereiche für Statuscodes einführt. Dieses System bildet eindeutige Ganzzahl-IDs auf spezifische Implementierungsfehler ab, bietet präzise diagnostische Bedeutung und isoliert Entwicklerfehler von Standard-Protokollantworten, während die Abwärtskompatibilität gewahrt bleibt. Der Standard deckt die API-Fehlerbehandlung und den Entwickler-Debugging-Workflow ab, indem er ein konsistentes Antwortschema für Fehler-Payloads etabliert. Dies stellt die Interoperabilität zwischen verschiedenen API-Clients und Servern bei der Meldung von Implementierungsfehlern sicher.
Links unique integer codes to specific implementation failures to provide precise diagnostic meaning during API communication.
Connect-go ist eine Bibliothek zum Erstellen typsicherer Remote Procedure Call (RPC)-Dienste, die mit gRPC und HTTP wire-kompatibel sind. Sie bietet eine Go-Implementierung von Protocol Buffers für den strukturierten Datenaustausch und ermöglicht die Erstellung von Multi-Protokoll-RPC-Servern und generierten typsicheren Clients. Das Framework zeichnet sich durch seine polyglotte Protokollunterstützung aus, die es einem einzelnen Server-Handler ermöglicht, Anfragen gleichzeitig über verschiedene Protokolle via HTTP zu bedienen. Dies beinhaltet die Möglichkeit, zwischen verschiedenen Transportprotokollen für denselben Dienst umzuschalten, sowie die Verwendung von erweiterbarer Content-Negotiation, um zwischen binärer und JSON-Kodierung zu wählen. Das Projekt deckt ein breites Spektrum an API-Integrationsfunktionen ab, einschließlich unärer und bidirektionaler Nachrichten-Streams, Netzwerk-Middleware für Request-Interception und strukturiertem Fehlermanagement. Es enthält zudem operative Dienstprogramme für Service-Health-Reporting, Payload-Kompression und Memory-Buffer-Recycling, um den Overhead der Garbage Collection zu reduzieren.
Translates internal service failures into semantic error codes and metadata compatible with RPC standards.
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.
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.