- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 353 for excepciones (0.05 seconds)
-
fastapi/utils.py
ModelField, PydanticSchemaGenerationError, Undefined, UndefinedType, Validator, annotation_is_pydantic_v1, ) from fastapi.datastructures import DefaultPlaceholder, DefaultType from fastapi.exceptions import FastAPIDeprecationWarning, PydanticV1NotSupportedError from pydantic import BaseModel from pydantic.fields import FieldInfo from typing_extensions import Literal from ._compat import v2Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbAuthException.java
package jcifs.smb; /** * The <code>SmbAuthException</code> encapsulates the variety of * authentication related error codes returned by an SMB server. * <p> * See <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for more information about * <code>SmbAuthException</code>. */ public class SmbAuthException extends SmbException { /** * */
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.5K bytes - Click Count (0) -
tests/test_validate_response_dataclass.py
from typing import Optional import pytest from fastapi import FastAPI from fastapi.exceptions import ResponseValidationError from fastapi.testclient import TestClient from pydantic.dataclasses import dataclass app = FastAPI() @dataclass class Item: name: str price: Optional[float] = None owner_ids: Optional[list[int]] = None @app.get("/items/invalid", response_model=Item) def get_invalid():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.2K bytes - Click Count (0) -
tests/test_tutorial/test_dependencies/test_tutorial008c.py
import importlib from types import ModuleType import pytest from fastapi.exceptions import FastAPIError from fastapi.testclient import TestClient @pytest.fixture( name="mod", params=[ pytest.param("tutorial008c_py39"), pytest.param("tutorial008c_an_py39"), ], ) def get_mod(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.dependencies.{request.param}") return mod
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
assertTrue(result.contains("NullPointerException")); assertTrue(result.contains("\n")); } @Test @DisplayName("Should handle deeply nested exceptions") void testToStringWithNestedExceptions() { Exception innermost = new IOException("Innermost exception"); Exception middle = new RuntimeException("Middle exception", innermost);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java
* retry counts and intervals between attempts. * * <p>The client supports a RequestListener interface to monitor the request lifecycle and handle * exceptions during retries.</p> * * <p>Key features:</p> * <ul> * <li>Configurable maximum retry attempts</li> * <li>Adjustable interval between retries</li> * <li>Exception tracking and aggregation</li>
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 7.8K bytes - Click Count (0) -
docs/ru/docs/tutorial/handling-errors.md
## Установка пользовательских обработчиков исключений { #install-custom-exception-handlers } Вы можете добавить пользовательские обработчики исключений с помощью <a href="https://www.starlette.dev/exceptions/" class="external-link" target="_blank">тех же утилит обработки исключений из Starlette</a>. Допустим, у вас есть пользовательское исключение `UnicornException`, которое вы (или используемая вами библиотека) можете `вызвать`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 14.1K bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial002_py39.py
from typing import Callable from fastapi import Body, FastAPI, HTTPException, Request, Response from fastapi.exceptions import RequestValidationError from fastapi.routing import APIRoute class ValidationErrorLoggingRoute(APIRoute): def get_route_handler(self) -> Callable: original_route_handler = super().get_route_handler() async def custom_route_handler(request: Request) -> Response: try:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 926 bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java
assertTrue(name.startsWith("thread")); } } catch (Exception e) { synchronized (exceptions) { exceptions.add(e); } } finally { endLatch.countDown(); } } }); }
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Sep 06 04:15:37 GMT 2025 - 20.8K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
if (Math.random() > 1) { // Never true, but compiler doesn't know throw new CrawlerSystemException("Unchecked"); } } /** * Test suppressed exceptions */ public void test_suppressedExceptions() throws Exception { // Create exception with suppression enabled Constructor<CrawlerSystemException> constructor =
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Wed Sep 03 14:42:53 GMT 2025 - 20K bytes - Click Count (0)