- Sort Score
- Num 10 results
- Language All
Results 1501 - 1510 of 1,655 for exception (0.14 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java
PLATFORM { @GwtIncompatible @J2ktIncompatible @Override // returns the types available in "normal" environments ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() { return ImmutableMap.of( InvocationTargetException.class, e -> e instanceof InvocationTargetException, StackOverflowError.class,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
PLATFORM { @GwtIncompatible @J2ktIncompatible @Override // returns the types available in "normal" environments ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() { return ImmutableMap.of( InvocationTargetException.class, e -> e instanceof InvocationTargetException, StackOverflowError.class,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (0) -
docs_src/handling_errors/tutorial004_py310.py
from fastapi import FastAPI, HTTPException from fastapi.exceptions import RequestValidationError from fastapi.responses import PlainTextResponse from starlette.exceptions import HTTPException as StarletteHTTPException app = FastAPI() @app.exception_handler(StarletteHTTPException) async def http_exception_handler(request, exc): return PlainTextResponse(str(exc.detail), status_code=exc.status_code)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 920 bytes - Click Count (0) -
docs_src/handling_errors/tutorial006_py310.py
from fastapi import FastAPI, HTTPException from fastapi.exception_handlers import ( http_exception_handler, request_validation_exception_handler, ) from fastapi.exceptions import RequestValidationError from starlette.exceptions import HTTPException as StarletteHTTPException app = FastAPI() @app.exception_handler(StarletteHTTPException) async def custom_http_exception_handler(request, exc): print(f"OMG! An HTTP error!: {repr(exc)}")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 928 bytes - Click Count (0) -
fastapi/exception_handlers.py
from fastapi.encoders import jsonable_encoder from fastapi.exceptions import RequestValidationError, WebSocketRequestValidationError from fastapi.utils import is_body_allowed_for_status_code from fastapi.websockets import WebSocket from starlette.exceptions import HTTPException from starlette.requests import Request from starlette.responses import JSONResponse, Response from starlette.status import WS_1008_POLICY_VIOLATION
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Sep 16 17:21:48 GMT 2025 - 1.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
PLATFORM { @GwtIncompatible @J2ktIncompatible @Override // returns the types available in "normal" environments ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() { return ImmutableMap.of( InvocationTargetException.class, e -> e instanceof InvocationTargetException, StackOverflowError.class,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
They can declare request requirements (like headers) or other sub-dependencies: {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *} ### Raise exceptions { #raise-exceptions } These dependencies can `raise` exceptions, the same as normal dependencies: {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[10,15] *} ### Return values { #return-values }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.9K bytes - Click Count (0) -
fastapi/__init__.py
from starlette import status as status from .applications import FastAPI as FastAPI from .background import BackgroundTasks as BackgroundTasks from .datastructures import UploadFile as UploadFile from .exceptions import HTTPException as HTTPException from .exceptions import WebSocketException as WebSocketException from .param_functions import Body as Body from .param_functions import Cookie as Cookie from .param_functions import Depends as Depends
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:21:01 GMT 2026 - 1.1K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
Elles peuvent déclarer des exigences pour la requête (comme des en-têtes) ou d'autres sous-dépendances : {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *} ### Lever des exceptions { #raise-exceptions } Ces dépendances peuvent `raise` des exceptions, comme des dépendances normales : {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[10,15] *} ### Gérer les valeurs de retour { #return-values }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 3.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java
PLATFORM { @GwtIncompatible @J2ktIncompatible @Override // returns the types available in "normal" environments ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() { return ImmutableMap.of( InvocationTargetException.class, e -> e instanceof InvocationTargetException, StackOverflowError.class,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.2K bytes - Click Count (0)