- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,434 for Errors (0.04 sec)
-
docs/de/docs/tutorial/handling-errors.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.6K bytes - Viewed (0) -
internal/s3select/unused-errors.go
package s3select // ///////////////////////////////////////////////////////////////////// // // Validation errors. // // ///////////////////////////////////////////////////////////////////// func errExpressionTooLong(err error) *s3Error { return &s3Error{ code: "ExpressionTooLong", message: "The SQL expression is too long: The maximum byte-length for the SQL expression is 256 KB.",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 20 08:16:35 UTC 2024 - 17.5K bytes - Viewed (0) -
cmd/api-errors.go
} // toAPIErrorCode - Converts embedded errors. Convenience // function written to handle all cases where we have known types of // errors returned by underlying layers. func toAPIErrorCode(ctx context.Context, err error) (apiErr APIErrorCode) { if err == nil { return ErrNone } // Errors that are generated by net.Conn and any context errors must be handled here.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 92.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/handling-errors.md
``` 被替换为了以下文本格式的错误信息: ``` 1 validation error path -> item_id value is not a valid integer (type=type_error.integer) ``` ### `RequestValidationError` vs `ValidationError` /// warning | "警告" 如果您觉得现在还用不到以下技术细节,可以先跳过下面的内容。 ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/handling-errors.md
**FastAPI** использует его для того, чтобы, если вы используете Pydantic-модель в `response_model`, и ваши данные содержат ошибку, вы увидели ошибку в журнале. Но клиент/пользователь этого не увидит. Вместо этого клиент получит сообщение "Internal Server Error" с кодом состояния HTTP `500`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.5K bytes - Viewed (0) -
cmd/xl-storage-errors.go
func isSysErrCrossDevice(err error) bool { return errors.Is(err, syscall.EXDEV) } // Check if given error corresponds to too many open files func isSysErrTooManyFiles(err error) bool { return errors.Is(err, syscall.ENFILE) || errors.Is(err, syscall.EMFILE) } func osIsNotExist(err error) bool { return errors.Is(err, os.ErrNotExist) } func osIsPermission(err error) bool {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:29 UTC 2023 - 3.8K bytes - Viewed (0) -
cmd/sts-errors.go
) // writeSTSErrorResponse writes error headers func writeSTSErrorResponse(ctx context.Context, w http.ResponseWriter, errCode STSErrorCode, err error) { stsErr := stsErrCodes.ToSTSErr(errCode) // Generate error response. stsErrorResponse := STSErrorResponse{} stsErrorResponse.Error.Code = stsErr.Code stsErrorResponse.RequestID = w.Header().Get(xhttp.AmzRequestID) stsErrorResponse.Error.Message = stsErr.Description if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 5.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/handling-errors.md
``` 以下のようなテキスト版を取得します: ``` 1 validation error path -> item_id value is not a valid integer (type=type_error.integer) ``` #### `RequestValidationError`と`ValidationError` /// warning | "注意" これらは今のあなたにとって重要でない場合は省略しても良い技術的な詳細です。 ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.8K bytes - Viewed (0) -
docs/pt/docs/tutorial/handling-errors.md
Os status codes na faixa dos 400 significam que houve um erro por parte do cliente. Você se lembra de todos aqueles erros (e piadas) a respeito do "**404 Not Found**"? ## Use o `HTTPException` Para retornar ao cliente *responses* HTTP com erros, use o `HTTPException`. ### Import `HTTPException` ```Python hl_lines="1" {!../../docs_src/handling_errors/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10K bytes - Viewed (0) -
cmd/object-api-errors.go
return errors.As(err, &bkNotFound) } // isErrReadQuorum check if the error type is InsufficientReadQuorum func isErrReadQuorum(err error) bool { var rquorum InsufficientReadQuorum return errors.As(err, &rquorum) } // isErrWriteQuorum check if the error type is InsufficientWriteQuorum func isErrWriteQuorum(err error) bool { var rquorum InsufficientWriteQuorum return errors.As(err, &rquorum) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 09 02:05:14 UTC 2024 - 22.1K bytes - Viewed (0)