Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 204 for oops (0.08 seconds)

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

    Namun bu, `unicorn_exception_handler` tarafından handle edilir.
    
    Böylece HTTP status code’u `418` olan, JSON içeriği şu şekilde temiz bir hata response’u alırsınız:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | Teknik Detaylar
    
    `from starlette.requests import Request` ve `from starlette.responses import JSONResponse` da kullanabilirsiniz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/handling-errors.md

    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
    
    También podrías usar `from starlette.requests import Request` y `from starlette.responses import JSONResponse`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/handling-errors.md

    Essa exceção será manipulada, contudo, pelo `unicorn_exception_handler`.
    
    Dessa forma você receberá um erro "limpo", com o HTTP status code `418` e um JSON com o conteúdo:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | Detalhes Técnicos
    
    Você também pode usar `from starlette.requests import Request` e `from starlette.responses import JSONResponse`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/handling-errors.md

    Mais elle sera gérée par `unicorn_exception_handler`.
    
    Ainsi, vous recevrez une erreur propre, avec un code d'état HTTP `418` et un contenu JSON :
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | Détails techniques
    
    Vous pourriez aussi utiliser `from starlette.requests import Request` et `from starlette.responses import JSONResponse`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/handling-errors.md

    这里,请求 `/unicorns/yolo` 时,路径操作会触发 `UnicornException`。
    
    但该异常将会被 `unicorn_exception_handler` 处理。
    
    你会收到清晰的错误信息,HTTP 状态码为 `418`,JSON 内容如下:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | 技术细节
    
    也可以使用 `from starlette.requests import Request` 和 `from starlette.responses import JSONResponse`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/handling-errors.md

    在這裡,如果你請求 `/unicorns/yolo`,該「路徑操作」會 `raise` 一個 `UnicornException`。
    
    但它會被 `unicorn_exception_handler` 所處理。
    
    因此你會得到一個乾淨的錯誤回應,HTTP 狀態碼為 `418`,JSON 內容如下:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | 技術細節
    
    你也可以使用 `from starlette.requests import Request` 與 `from starlette.responses import JSONResponse`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/handling-errors.md

    여기서 `/unicorns/yolo`를 요청하면, *경로 처리*가 `UnicornException`을 `raise`합니다.
    
    하지만 `unicorn_exception_handler`가 이를 처리합니다.
    
    따라서 HTTP 상태 코드 `418`과 다음 JSON 내용을 가진 깔끔한 오류를 받게 됩니다:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | 기술 세부사항
    
    `from starlette.requests import Request`와 `from starlette.responses import JSONResponse`를 사용할 수도 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  8. fastapi/applications.py

            async def unicorn_exception_handler(request: Request, exc: UnicornException):
                return JSONResponse(
                    status_code=418,
                    content={"message": f"Oops! {exc.name} did something. There goes a rainbow..."},
                )
            ```
            """
    
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  9. internal/grid/benchmark_test.go

    					b.ReportMetric(latency/float64(ops), "ms/op")
    				}
    			})
    		}
    	})
    	b.Run("rpc", func(b *testing.B) {
    		for par := 1; par <= 32; par *= 2 {
    			b.Run("par="+strconv.Itoa(par*runtime.GOMAXPROCS(0)), func(b *testing.B) {
    				defer timeout(60 * time.Second)()
    				ctx, cancel := context.WithTimeout(b.Context(), 30*time.Second)
    				defer cancel()
    				b.ReportAllocs()
    				b.ResetTimer()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  10. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    ono.fukui.jp
    ono.fukushima.jp
    ono.hyogo.jp
    onojo.fukuoka.jp
    onomichi.hiroshima.jp
    onporter.run
    onrender.com
    onthewifi.com
    onza.mythic-beasts.com
    ooguy.com
    ookuwa.nagano.jp
    ooo
    oops.jp
    ooshika.nagano.jp
    oow.gov.pl
    opal.ne.jp
    open
    opencraft.hosting
    opensocial.site
    operaunite.com
    opoczno.pl
    opole.pl
    oppdal.no
    oppegard.no
    oppegård.no
    or.at
    or.bi
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 22:00:49 GMT 2025
    - 129.6K bytes
    - Click Count (3)
Back to Top