- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 336 for excepciones (0.06 sec)
-
tests/test_exception_handlers.py
import pytest from fastapi import Depends, FastAPI, HTTPException from fastapi.exceptions import RequestValidationError from fastapi.testclient import TestClient from starlette.responses import JSONResponse def http_exception_handler(request, exception): return JSONResponse({"exception": "http-exception"}) def request_validation_exception_handler(request, exception): return JSONResponse({"exception": "request-validation"})
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 03 22:37:12 UTC 2024 - 2.4K bytes - Viewed (0) -
tests/test_validate_response.py
from typing import Optional, Union import pytest from fastapi import FastAPI from fastapi.exceptions import ResponseValidationError from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: Optional[float] = None owner_ids: Optional[list[int]] = None @app.get("/items/invalid", response_model=Item) def get_invalid():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/StorageException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * This exception is thrown when a storage-related error occurs. * It can be used to wrap underlying storage exceptions, providing a * consistent error handling mechanism for storage operations. */ public class StorageException extends FessSystemException { private static final long serialVersionUID = 1L; /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
assertTrue(Arrays.asList(clazz.getInterfaces()).contains(SmbResourceLocator.class), "Should extend SmbResourceLocator"); // shouldForceSigning(): boolean, no params, no checked exceptions Method m1 = clazz.getMethod("shouldForceSigning"); assertEquals(boolean.class, m1.getReturnType()); assertEquals(0, m1.getParameterCount()); assertEquals(0, m1.getExceptionTypes().length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/CIFSException.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs; import java.io.IOException; /** * Base for all checked exceptions used by this library * * @author mbechler * */ public class CIFSException extends IOException { /** * */ private static final long serialVersionUID = 7806460518865806784L;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java
} } } } catch (Exception e) { synchronized (exceptions) { exceptions.add(e); } } } }); } // Start all threads for (Thread thread : threads) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 22.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
} catch (DependencyCollectionException e) { throw new PluginResolutionException(plugin, e.getResult().getExceptions(), e); } catch (DependencyResolutionException e) { List<Exception> exceptions = Stream.concat( e.getResult().getCollectExceptions().stream(), e.getResult().getArtifactResults().stream()
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 15:32:43 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Graph.java
* {@code view} returned by this method will be invalidated, and will throw {@code * IllegalStateException} if it is accessed in any way, with the following exceptions: * * <ul> * <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()} * expression involving {@code view} will throw) * <li>{@code hashCode()} does not throwRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 13.6K bytes - Viewed (0) -
guava/src/com/google/common/graph/Graph.java
* {@code view} returned by this method will be invalidated, and will throw {@code * IllegalStateException} if it is accessed in any way, with the following exceptions: * * <ul> * <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()} * expression involving {@code view} will throw) * <li>{@code hashCode()} does not throwRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 13.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/handling-errors.md
## Instale manipuladores de exceções customizados { #install-custom-exception-handlers } Você pode adicionar manipuladores de exceção customizados com <a href="https://www.starlette.dev/exceptions/" class="external-link" target="_blank">a mesma seção de utilidade de exceções presentes no Starlette</a>.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 10.2K bytes - Viewed (0)