- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 431 for denial (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java
public class SuggestIndexException extends SuggesterException { private static final long serialVersionUID = -3792626439756997194L; /** * Constructs a new SuggestIndexException with the specified detail message. * @param msg The detail message. */ public SuggestIndexException(final String msg) { super(msg); } /** * Constructs a new SuggestIndexException with the specified cause.Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 2K bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial002_py310.py
return await original_route_handler(request) except RequestValidationError as exc: body = await request.body() detail = {"errors": exc.errors(), "body": body.decode()} raise HTTPException(status_code=422, detail=detail) return custom_route_handler app = FastAPI() app.router.route_class = ValidationErrorLoggingRoute @app.post("/")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 935 bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlException.java
*/ public class CurlException extends RuntimeException { private static final long serialVersionUID = 1L; /** * Constructs a new CurlException with the specified detail message and cause. * * @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method). * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method).Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Jul 05 01:38:18 GMT 2025 - 2K bytes - Click Count (0) -
tests/test_request_params/test_body/test_required_str.py
def test_required_str_missing(path: str, json: dict[str, Any] | None): client = TestClient(app) response = client.post(path, json=json) assert response.status_code == 422 assert response.json() == { "detail": [ { "type": "missing", "loc": IsOneOf(["body"], ["body", "p"]), "msg": "Field required", "input": IsOneOf(None, {}), }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 10.9K bytes - Click Count (0) -
docs_src/security/tutorial005_py310.py
detail="Not enough permissions", headers={"WWW-Authenticate": authenticate_value}, ) return user async def get_current_active_user( current_user: User = Security(get_current_user, scopes=["me"]), ): if current_user.disabled: raise HTTPException(status_code=400, detail="Inactive user") return current_user
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 5.3K bytes - Click Count (0) -
tests/test_security_oauth2_optional.py
"title": "HTTPValidationError", "type": "object", "properties": { "detail": { "title": "Detail", "type": "array", "items": { "$ref": "#/components/schemas/ValidationError"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.8K bytes - Click Count (0) -
tests/test_tutorial/test_body/test_tutorial002.py
"title": "HTTPValidationError", "type": "object", "properties": { "detail": { "title": "Detail", "type": "array", "items": { "$ref": "#/components/schemas/ValidationError"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggestSettingsException.java
* <ul> * <li>{@link #SuggestSettingsException(String)}: Constructs a new exception with the specified detail message.</li> * <li>{@link #SuggestSettingsException(Throwable)}: Constructs a new exception with the specified cause.</li> * <li>{@link #SuggestSettingsException(String, Throwable)}: Constructs a new exception with the specified detail message and cause.</li> * </ul> * * @see RuntimeException */
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 2.1K bytes - Click Count (0) -
docs_src/path_operation_advanced_configuration/tutorial007_py310.py
try: data = yaml.safe_load(raw_body) except yaml.YAMLError: raise HTTPException(status_code=422, detail="Invalid YAML") try: item = Item.model_validate(data) except ValidationError as e: raise HTTPException(status_code=422, detail=e.errors(include_url=False))Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 797 bytes - Click Count (0) -
docs_src/dependencies/tutorial008b_py310.py
try: yield "Rick" except OwnerError as e: raise HTTPException(status_code=400, detail=f"Owner error: {e}") @app.get("/items/{item_id}") def get_item(item_id: str, username: str = Depends(get_username)): if item_id not in data: raise HTTPException(status_code=404, detail="Item not found") item = data[item_id] if item["owner"] != username: raise OwnerError(username)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 735 bytes - Click Count (0)