Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 208 for error (0.18 sec)

  1. docs/zh/docs/tutorial/handling-errors.md

    被替换为了以下文本格式的错误信息:
    
    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    
    ```
    
    ### `RequestValidationError` vs `ValidationError`
    
    !!! warning "警告"
    
        如果您觉得现在还用不到以下技术细节,可以先跳过下面的内容。
    
    
    `RequestValidationError` 是 Pydantic 的 <a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a> 的子类。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/handling-errors.md

    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    ```
    
    #### `RequestValidationError` 🆚 `ValidationError`
    
    !!! warning
        👫 📡 ℹ 👈 👆 💪 🚶 🚥 ⚫️ 🚫 ⚠ 👆 🔜.
    
    `RequestValidationError` 🎧-🎓 Pydantic <a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/handling-errors.md

    以下のようなテキスト版を取得します:
    
    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    ```
    
    #### `RequestValidationError`と`ValidationError`
    
    !!! warning "注意"
        これらは今のあなたにとって重要でない場合は省略しても良い技術的な詳細です。
    
    `RequestValidationError`はPydanticの<a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>のサブクラスです。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/handling-errors.md

    ### Override the `HTTPException` error handler
    
    The same way, you can override the `HTTPException` handler.
    
    For example, you could want to return a plain text response instead of JSON for these errors:
    
    ```Python hl_lines="3-4  9-11  22"
    {!../../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/testing/fstest/63675.md

    [TestFS] now returns a structured error that can be unwrapped
    (via method `Unwrap() []error`). This allows inspecting errors
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 159 bytes
    - Viewed (0)
  6. Development.md

    # Development best practices
    
    This is a collection of best practices for Gradle implementation.
    Should and should not do's.
    
    ## Error messages and suggestions
    
    Traditionally, if an error occurred, the error message and the possible solution were provided to the console via a single String in the corresponding exception.
    That meant possible solutions for Problems could be scattered all over the console output.
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 06 22:54:40 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. api/next/63116.txt

    pkg net, type DNSError struct, UnwrapErr error #63116
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Apr 14 18:23:45 GMT 2024
    - 104 bytes
    - Viewed (0)
  8. api/next/66008.txt

    pkg net/http, func ParseCookie(string) ([]*Cookie, error) #66008
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 17 17:43:50 GMT 2024
    - 131 bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/tests/org/jetbrains/kotlin/analysis/api/fe10/test/configurator/AnalysisApiFe10TestConfiguratorFactory.kt

                    AnalysisSessionMode.Normal -> AnalysisApiFe10TestConfigurator
                    AnalysisSessionMode.Dependent -> error("Unsupported AnalysisSessionMode.Dependent for fe10")
                }
    
                else -> {
                    error("Unsupported non-source module for fe10")
                }
            }
        }
    
        override fun supportMode(data: AnalysisApiTestConfiguratorFactoryData): Boolean {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 26 21:57:23 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/path-params.md

    The same error would appear if you provided a `float` instead of an `int`, as in: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a>
    
    !!! check
        So, with the same Python type declaration, **FastAPI** gives you data validation.
    
        Notice that the error also clearly states exactly the point where the validation didn't pass.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top