5 Repos
Middleware that catches script-level exceptions during request processing to prevent complete network failures.
Distinct from Request & Response Handling: Specifically targets the interception of script runtime errors within the request pipeline, distinct from general 404 route handling.
Explore 5 awesome GitHub repositories matching web development · Execution Error Interception. Refine with filters or upvote what's useful.
GraphQL-Ruby ist eine Ruby-Bibliothek zum Erstellen von GraphQL-APIs mit einem stark typisierten Schema und einer dedizierten Query-Execution-Engine. Sie bietet ein umfassendes Framework zum Mappen von Anwendungsobjekten auf ein formales Typsystem, was strukturiertes Datenabrufen durch definierte Resolver ermöglicht. Das Projekt zeichnet sich durch fortschrittliche Performance- und Bereitstellungsmechanismen aus, darunter einen Data Loader für Batching und Caching zur Vermeidung von N+1-Abfragemustern. Es unterstützt leistungsstarke Datenbereitstellung durch inkrementelles Response-Streaming, verzögerte Abfrageantworten und paralleles Datenabrufen mittels Fibers. Zudem bietet es native Unterstützung für Relay-Konventionen, einschließlich spezialisierter Helfer für Connections und Objektidentifikation. Die Bibliothek deckt ein breites Spektrum an API-Management ab, einschließlich fein abgestufter Zugriffskontrolle, Schema-Versionierung zur Wahrung der Abwärtskompatibilität und Echtzeit-Updates via Subscriptions. Sie enthält zudem Traffic-Management-Tools zum Schutz von Serverressourcen, wie z. B. die Begrenzung der Abfragekomplexität und Request-Rate-Limiting. Entwicklung und Observability werden durch AST-Analysewerkzeuge, Execution-Tracing und spezialisierte Test-Utilities zur Verifizierung von Batch-Loading unterstützt.
Intercepts exceptions during field resolution to report metrics or provide fallback values without failing the request.
Oak ist ein Cross-Runtime-HTTP-Middleware-Framework und Webserver, der auf Deno, Node.js, Bun und Cloudflare Workers läuft. Es bietet ein einheitliches System zum Erstellen von APIs und Webservern unter Verwendung einer sequenziellen Kette von Middleware-Funktionen und einer hierarchischen Routing-Engine, die URL-Pfade über eine verschachtelte Baumstruktur auf Handler abbildet. Das Framework enthält einen Runtime-agnostischen Serverless-Adapter, der diverse Cloud-Provider-Events in eine Standard-Request- und Response-Schnittstelle übersetzt. Es bietet zudem eine dedizierte WebSocket-Server-Implementierung für bidirektionale Echtzeitkommunikation sowie einen Web-Session-Manager, der asynchrones Cookie-Signing und persistenten Speicher nutzt. Das Projekt deckt ein breites Spektrum an Server-Funktionen ab, einschließlich statischem File-Serving, Content-Negotiation und Multipart-Daten-Parsing. Die Sicherheits- und Observability-Funktionen umfassen Tools zur Validierung von JSON Web Tokens, zur Konfiguration von Security-Headern, zum Logging von HTTP-Traffic und zur Simulation von Anwendungsanfragen zu Testzwecken.
Includes middleware that intercepts uncaught exceptions during the request pipeline to provide centralized error responses.
Salvo is a comprehensive Rust web framework for building asynchronous HTTP servers and web applications. It features a hierarchical web router that uses a tree-based structure to map requests to handlers and an asynchronous middleware pipeline based on the onion model for request and response pre- and post-processing. The framework is distinguished by its native support for modern network protocols, including a QUIC-based HTTP/3 implementation alongside HTTP/1 and HTTP/2. It includes an integrated OpenAPI documentation generator that extracts schemas directly from handler signatures to produc
Provides middleware to catch runtime exceptions during request processing to return custom error responses.
Script-Hub is a system for translating proxy rule sets and converting configuration modules between different network proxy environments. It serves as a translator and converter that enables cross-platform compatibility for rewrite rules and script-based logic. The project includes a script interop layer that normalizes header casing and handles execution errors to ensure scripts run consistently across different tools. It also provides a remote configuration manager for importing, updating, and modifying proxy modules and parameters via web URLs. The software covers a range of capabilities
Provides a protective middleware layer that intercepts script execution errors to prevent network interruptions during request processing.
Oils is a Unix shell interpreter and scripting language runtime that combines a modern shell language with POSIX and Bash compatibility. It functions as a structured data shell, integrating JSON and J8 formats to manage complex data without relying on string parsing. The system is distinguished by a C++ transpiled interpreter that converts a subset of Python source code into strongly typed C++ for high-performance execution. It features a garbage-collected typed runtime that supports prototype-based polymorphism, lexical closures, and reference-based variable mutation. To decouple shell logic
Intercepts command or expression failures using a try block and provides an error variable for inspection.