- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 84 for Loops (0.02 seconds)
-
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) -
docs/uk/docs/tutorial/handling-errors.md
Але вона буде оброблена функцією-обробником `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: Thu Mar 19 18:27:41 GMT 2026 - 13.9K bytes - Click Count (0) -
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) -
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) -
docs/en/docs/tutorial/handling-errors.md
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 You could also use `from starlette.requests import Request` and `from starlette.responses import JSONResponse`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.9K bytes - Click Count (0) -
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) -
docs/ja/docs/tutorial/handling-errors.md
ここで、`/unicorns/yolo`をリクエストすると、*path operation*は`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:07:17 GMT 2026 - 11.2K bytes - Click Count (0) -
src/bytes/buffer_test.go
empty(t, "TestReadFrom (2)", &b, s, make([]byte, len(testString))) } } type panicReader struct{ panic bool } func (r panicReader) Read(p []byte) (int, error) { if r.panic { panic("oops") } return 0, io.EOF } // Make sure that an empty Buffer remains empty when // it is "grown" before a Read that panics func TestReadFromPanicReader(t *testing.T) {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
TESTING.asciidoc
them and let vagrant reprovision them. Say you've hosed your precise VM: ---------------------------------------------------- vagrant ssh ubuntu-1604 -c 'sudo rm -rf /bin'; echo oops ---------------------------------------------------- All you've got to do to get another one is ----------------------------------------------
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jun 07 13:55:20 GMT 2021 - 32.5K bytes - Click Count (0) -
tensorflow/c/c_api_function_test.cc
std::vector<std::pair<std::string, std::string>> grads = GetGradDefs(gdef); ASSERT_EQ(1, grads.size()); ASSERT_EQ(func_name_, grads[0].first); ASSERT_EQ("MyGrad", grads[0].second); // These calls must be noops TF_GraphCopyFunction(host_graph_, func_, grad_func, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); TF_GraphCopyFunction(host_graph_, func_, nullptr, s_);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 63.9K bytes - Click Count (1)