5 repository-uri
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 este o bibliotecă Ruby pentru construirea de API-uri GraphQL cu o schemă puternic tipizată și un motor dedicat de execuție a interogărilor. Aceasta oferă un framework cuprinzător pentru maparea obiectelor aplicației la un sistem formal de tipuri, permițând preluarea structurată a datelor prin resolver-e definite. Proiectul se distinge prin mecanisme avansate de performanță și livrare, inclusiv un data loader pentru batching și caching, menit să prevină tiparele de interogare N+1. Suportă livrarea de date de înaltă performanță prin streaming incremental de răspunsuri, răspunsuri amânate la interogări și preluarea paralelă a datelor folosind fibers. În plus, oferă suport nativ pentru convențiile Relay, inclusiv helper-e specializate pentru conexiuni și identificarea obiectelor. Biblioteca acoperă o suprafață largă de gestionare a API-urilor, incluzând controlul accesului granular, versionarea schemei pentru a menține compatibilitatea backward și actualizări în timp real prin subscripții. Include, de asemenea, instrumente de gestionare a traficului pentru a proteja resursele serverului, cum ar fi limitarea complexității interogărilor și limitarea ratei de cereri. Dezvoltarea și observabilitatea sunt susținute prin instrumente de analiză AST, tracing de execuție și utilitare de testare specializate pentru verificarea încărcării în loturi (batch loading).
Intercepts exceptions during field resolution to report metrics or provide fallback values without failing the request.
Oak is a cross-runtime HTTP middleware framework and web server designed to operate across Deno, Node.js, Bun, and Cloudflare Workers. It provides a unified system for building APIs and web servers using a sequential chain of middleware functions and a hierarchical routing engine that maps URL paths to handlers via a nested tree structure. The framework includes a runtime-agnostic serverless adapter that translates diverse cloud provider events into a standard request and response interface. It also features a dedicated WebSocket server implementation for bidirectional real-time communication
Includes middleware that intercepts uncaught exceptions during the request pipeline to provide centralized error responses.
Salvo este un framework web Rust cuprinzător pentru construirea de servere HTTP asincrone și aplicații web. Dispune de un router web ierarhic care utilizează o structură bazată pe arbore pentru a mapa cererile către handler-e și un pipeline middleware asincron bazat pe modelul onion pentru pre- și post-procesarea cererilor și răspunsurilor. Framework-ul se distinge prin suportul nativ pentru protocoalele de rețea moderne, inclusiv o implementare HTTP/3 bazată pe QUIC, alături de HTTP/1 și HTTP/2. Include un generator de documentație OpenAPI integrat care extrage schemele direct din semnăturile handler-elor pentru a produce specificații API standardizate și interfețe interactive. În plus, oferă gestionare automată TLS prin integrarea ACME pentru a obține și reînnoi certificatele de securitate. Proiectul acoperă o gamă largă de capabilități, inclusiv comunicarea în timp real prin WebSockets și WebTransport, precum și funcționalitatea de API gateway cu proxy-ing de cereri și rescriere de căi. Include suport încorporat pentru gestionarea sesiunilor, extragerea type-safe a parametrilor și observabilitate prin integrarea OpenTelemetry. Livrarea conținutului este gestionată prin servirea de fișiere statice și template-uri HTML dinamice. Este furnizat un instrument de linie de comandă pentru inițializarea noilor structuri de proiect.
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.