Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for errorhandler (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            // Test fallback logic
            assertTrue(errorHandler.shouldFallbackToTcp(hardwareError), "Hardware errors should suggest TCP fallback");
            assertFalse(errorHandler.shouldFallbackToTcp(timeoutError), "Timeout errors should not immediately suggest TCP fallback");
    
            // Test error classification using public API
            assertNotNull(errorHandler, "Error handler should handle network errors");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  2. tests/test_ws_router.py

        """
    
        @websocket_middleware
        async def errorhandler(websocket: WebSocket, call_next):
            try:
                return await call_next()
            except Exception as e:
                await websocket.close(code=status.WS_1006_ABNORMAL_CLOSURE, reason=repr(e))
    
        myapp = make_app(middleware=[Middleware(errorhandler)])
        client = TestClient(myapp)
        with pytest.raises(WebSocketDisconnect) as e:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. fastapi/applications.py

            # inside of ExceptionMiddleware, inside of custom user middlewares
            debug = self.debug
            error_handler = None
            exception_handlers: dict[Any, ExceptionHandler] = {}
    
            for key, value in self.exception_handlers.items():
                if key in (500, Exception):
                    error_handler = value
                else:
                    exception_handlers[key] = value
    
            middleware = (
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 176.3K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.31.md

    - K8s.io/apimachinery/pkg/util/runtime: Added support for new calls to handle panics and errors in the context where they occur. `PanicHandlers` and `ErrorHandlers` now must accept a context parameter for that. Log output is structured instead of unstructured. ([#121970](https://github.com/kubernetes/kubernetes/pull/121970), [@pohly](https://github.com/pohly)) [SIG API Machinery and Instrumentation]
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Nov 12 11:33:21 UTC 2025
    - 451.9K bytes
    - Viewed (0)
Back to top