- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 23 for onerror (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/chat/ChatPhaseCallback.java
*/ void onChunk(String content, boolean done); /** * Called when an error occurs during processing. * * @param phase the phase where the error occurred * @param error the error message */ void onError(String phase, String error); /** * Returns a no-op callback implementation. * * @return a callback that does nothing */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:32:04 GMT 2026 - 3.3K bytes - Click Count (0) -
tests/test_swagger_ui_escape.py
html = get_swagger_ui_html( openapi_url="/openapi.json", title="Test", swagger_ui_parameters={"customKey": "<img src=x onerror=alert(1)>"}, ) body = html.body.decode() assert "<img src=x onerror=alert(1)>" not in body assert "\\u003cimg" in body def test_normal_init_oauth_still_works(): html = get_swagger_ui_html( openapi_url="/openapi.json",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 24 09:28:10 GMT 2026 - 1.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/MarkdownRendererTest.java
} @Test public void test_render_xss_imgOnerror() { String malicious = "<img src=\"x\" onerror=\"alert('XSS')\">"; String result = markdownRenderer.render(malicious); // onerror attribute should be removed assertFalse(result.contains("onerror")); } @Test public void test_render_xss_iframeTag() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 11.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmStreamCallback.java
* @param done true if this is the final chunk */ void onChunk(String chunk, boolean done); /** * Called when an error occurs during streaming. * * @param error the error that occurred */ default void onError(final Throwable error) { // Default implementation does nothing }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 1.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
logger.debug("SSE error event sent. phase={}, error={}", phase, errorCode); } } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to send error event. phase={}, error={}", phase, e.getMessage()); } } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0) -
src/main/webapp/js/chat.js
updateUI(); showStatus('error'); hideProgressIndicator(); showErrorBanner(errorMessage); } /** * Show error banner */ function showErrorBanner(message) { elements.errorBanner.find('.error-message').text(message); elements.errorBanner.removeClass('d-none'); } /** * Hide error banner */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 01:36:02 GMT 2026 - 30.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatClient.java
logger.warn("[RAG] LLM error during enhanced chat. sessionId={}, errorCode={}, error={}, elapsedTime={}ms", session.getSessionId(), e.getErrorCode(), e.getMessage(), System.currentTimeMillis() - startTime, e); callback.onError("llm", e.getErrorCode()); throw e; } catch (final Exception e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 56.6K bytes - Click Count (0) -
doc/next/78137.md
wrapping it in net.OpError when the underlying read returns EOF....
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Mar 23 20:47:18 GMT 2026 - 130 bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
CyclicBarrier barrier = new CyclicBarrier(2); // we need to make sure the error gets thrown on a different thread. ExecutorService service = newSingleThreadExecutor(); try { SequentialExecutor executor = new SequentialExecutor(service); Runnable errorTask = () -> { throw new MyError(); }; Runnable barrierTask = () -> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 10.5K bytes - Click Count (0) -
docs/es/docs/how-to/authentication-error-status-code.md
# Usar los códigos de estado antiguos 403 para errores de autenticación { #use-old-403-authentication-error-status-codes } Antes de FastAPI versión `0.122.0`, cuando las utilidades de seguridad integradas devolvían un error al cliente después de una autenticación fallida, usaban el código de estado HTTP `403 Forbidden`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 1.2K bytes - Click Count (0)