From: Hirokatsu Endo Date: Sun, 22 Jun 2025 14:35:27 +0000 (+0900) Subject: ✏️ Fix typo in `docs/ja/docs/tutorial/handling-errors.md` (#13814) X-Git-Tag: 0.115.14~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=487f940e91b6d7a39a0b2e3b722baa956c72e1cd;p=thirdparty%2Ffastapi%2Ffastapi.git ✏️ Fix typo in `docs/ja/docs/tutorial/handling-errors.md` (#13814) --- diff --git a/docs/ja/docs/tutorial/handling-errors.md b/docs/ja/docs/tutorial/handling-errors.md index 9a46cc738e..37315b0872 100644 --- a/docs/ja/docs/tutorial/handling-errors.md +++ b/docs/ja/docs/tutorial/handling-errors.md @@ -63,7 +63,7 @@ Pythonの例外なので、`return`ではなく、`raise`です。 `HTTPException`を発生させる際には、`str`だけでなく、JSONに変換できる任意の値を`detail`パラメータとして渡すことができます。 -`dist`や`list`などを渡すことができます。 +`dict`や`list`などを渡すことができます。 これらは **FastAPI** によって自動的に処理され、JSONに変換されます。