Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for yoko (0.02 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            // something like the following:
            //
            // <dependencyManagement>
            //     <dependencies>
            //         <!--  Yoko modules -->
            //         <dependency>
            //             <groupId>org.apache.yoko</groupId>
            //             <artifactId>yoko-core</artifactId>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. docs_src/handling_errors/tutorial003_py39.py

            status_code=418,
            content={"message": f"Oops! {exc.name} did something. There goes a rainbow..."},
        )
    
    
    @app.get("/unicorns/{name}")
    async def read_unicorn(name: str):
        if name == "yolo":
            raise UnicornException(name=name)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 626 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_handling_errors/test_tutorial003.py

        assert response.json() == {"unicorn_name": "shinny"}
    
    
    def test_get_exception():
        response = client.get("/unicorns/yolo")
        assert response.status_code == 418, response.text
        assert response.json() == {
            "message": "Oops! yolo did something. There goes a rainbow..."
        }
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/resources/fess_indices/fess/no/stopwords.txt

    hennes
    hoss
    hossen
    ikkje
    ingi
    inkje
    korleis
    korso
    kva
    kvar
    kvarhelst
    kven
    kvi
    kvifor
    me
    medan
    mi
    mine
    mykje
    no
    nokon
    noka
    nokor
    noko
    nokre
    si
    sia
    sidan
    so
    somt
    somme
    um
    upp
    vere
    vore
    verte
    vort
    varte
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 27 12:59:36 UTC 2023
    - 994 bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/handling-errors.md

    Here, if you request `/unicorns/yolo`, the *path operation* will `raise` a `UnicornException`.
    
    But it will be handled by the `unicorn_exception_handler`.
    
    So, you will receive a clean error, with an HTTP status code of `418` and a JSON content of:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | Technical Details
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial003_py39.py hl[5:7,13:18,24] *}
    
    Aquí, si solicitas `/unicorns/yolo`, la *path operation* lanzará un `UnicornException`.
    
    Pero será manejado por el `unicorn_exception_handler`.
    
    Así que recibirás un error limpio, con un código de estado HTTP de `418` y un contenido JSON de:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | Nota Técnica
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/handling-errors.md

    此时,可以用 `@app.exception_handler()` 添加自定义异常控制器:
    
    {* ../../docs_src/handling_errors/tutorial003.py hl[5:7,13:18,24] *}
    
    请求 `/unicorns/yolo` 时,路径操作会触发 `UnicornException`。
    
    但该异常将会被 `unicorn_exception_handler` 处理。
    
    接收到的错误信息清晰明了,HTTP 状态码为 `418`,JSON 内容如下:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    
    ```
    
    /// note | 技术细节
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top