Creat55
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
docs/zh/docs/tutorial/handling-errors.md
|
@ -145,7 +145,7 @@ |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
访问 `/items/foo`,可以看到以下内容替换了默认 JSON 错误信息: |
|
|
访问 `/items/foo`,可以看到默认的 JSON 错误信息: |
|
|
|
|
|
|
|
|
```JSON |
|
|
```JSON |
|
|
{ |
|
|
{ |
|
@ -163,7 +163,7 @@ |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
以下是文本格式的错误信息: |
|
|
被替换为了以下文本格式的错误信息: |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
1 validation error |
|
|
1 validation error |
|
|