- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for ValidationError (0.07 sec)
-
src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java
logger.debug("Add badword. {} badword: {}", arraySettings.arraySettingsIndexName, badWord); } final String validationError = getValidationError(badWord); if (validationError != null) { throw new IllegalArgumentException("Validation error. " + validationError); } arraySettings.add(BAD_WORD_SETTINGD_KEY, badWord); } /** * Delete a bad word.
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 5.3K bytes - Viewed (0) -
docs/en/docs/advanced/additional-responses.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 8.9K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
``` #### `RequestValidationError` vs `ValidationError` { #requestvalidationerror-vs-validationerror } /// warning These are technical details that you might skip if it's not important for you now. /// `RequestValidationError` is a sub-class of Pydantic's <a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/de/docs/advanced/security/oauth2-scopes.md
## Den `username` und das Format der Daten überprüfen Wir verifizieren, dass wir einen `username` erhalten, und extrahieren die Scopes. Und dann validieren wir diese Daten mit dem Pydantic-Modell (wobei wir die `ValidationError`-Exception abfangen), und wenn wir beim Lesen des JWT-Tokens oder beim Validieren der Daten mit Pydantic einen Fehler erhalten, lösen wir die zuvor erstellte `HTTPException` aus.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 15.1K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
## Verify the `username` and data shape { #verify-the-username-and-data-shape } We verify that we get a `username`, and extract the scopes. And then we validate that data with the Pydantic model (catching the `ValidationError` exception), and if we get an error reading the JWT token or validating the data with Pydantic, we raise the `HTTPException` we created before. For that, we update the Pydantic model `TokenData` with a new property `scopes`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 13.5K bytes - Viewed (0) -
docs/pt/docs/advanced/security/oauth2-scopes.md
## Verifique o `username` e o formato dos dados Nós verificamos que nós obtemos um `username`, e extraímos os escopos. E depois nós validamos esse dado com o modelo Pydantic (capturando a exceção `ValidationError`), e se nós obtemos um erro ao ler o token JWT ou validando os dados com o Pydantic, nós levantamos a exceção `HTTPException` que criamos anteriormente.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 14.5K bytes - Viewed (0) -
docs/em/docs/advanced/security/oauth2-scopes.md
{* ../../docs_src/security/tutorial005.py hl[105,107:115] *} ## ✔ `username` & 💽 💠 👥 ✔ 👈 👥 🤚 `username`, & ⚗ ↔. & ⤴️ 👥 ✔ 👈 📊 ⏮️ Pydantic 🏷 (✊ `ValidationError` ⚠), & 🚥 👥 🤚 ❌ 👂 🥙 🤝 ⚖️ ⚖ 📊 ⏮️ Pydantic, 👥 🤚 `HTTPException` 👥 ✍ ⏭. 👈, 👥 ℹ Pydantic 🏷 `TokenData` ⏮️ 🆕 🏠 `scopes`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:03:10 UTC 2025 - 10.8K bytes - Viewed (0) -
docs/es/docs/advanced/security/oauth2-scopes.md
## Verificar el `username` y la forma de los datos Verificamos que obtenemos un `username`, y extraemos los scopes. Y luego validamos esos datos con el modelo de Pydantic (capturando la excepción `ValidationError`), y si obtenemos un error leyendo el token JWT o validando los datos con Pydantic, lanzamos la `HTTPException` que creamos antes. Para eso, actualizamos el modelo de Pydantic `TokenData` con una nueva propiedad `scopes`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 13.8K bytes - Viewed (0) -
docs/en/docs/release-notes.md
### Fixes * ✅ Fix new/recent tests with new fixed `ValidationError` JSON Schema. PR [#4806](https://github.com/tiangolo/fastapi/pull/4806) by [@tiangolo](https://github.com/tiangolo). * 🐛 Fix JSON Schema for `ValidationError` at field `loc`. PR [#3810](https://github.com/tiangolo/fastapi/pull/3810) by [@dconathan](https://github.com/dconathan).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Sep 05 12:48:45 UTC 2025 - 544.1K bytes - Viewed (0)