- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,474 for error (0.03 sec)
-
internal/s3select/jstream/errors.go
context string // additional error context pos errPos atChar byte readerErr error // underlying reader error, if any } // ReaderErr returns the underlying error. func (e DecoderError) ReaderErr() error { return e.readerErr } // Error returns a string representation of the error. func (e DecoderError) Error() string { loc := fmt.Sprintf("%s [%d,%d]", quoteChar(e.atChar), e.pos[0], e.pos[1])
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 1.3K bytes - Viewed (0) -
internal/s3select/parquet/errors.go
message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode } func (err *s3Error) Error() string { return err.message }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.4K 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) -
cmd/object-api-errors.go
return "Object name invalid: " + e.Bucket + "/" + e.Object } // Error returns string an error formatted as the given text. func (e ObjectNameTooLong) Error() string { return "Object name too long: " + e.Bucket + "/" + e.Object } // Error returns string an error formatted as the given text. func (e ObjectNamePrefixAsSlash) Error() string {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 09 02:05:14 UTC 2024 - 22.1K bytes - Viewed (0) -
internal/s3select/csv/errors.go
return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode } func (err *s3Error) Error() string { return err.message } func errCSVParsingError(err error) *s3Error { return &s3Error{ code: "CSVParsingError", message: "Encountered an error parsing the CSV file. Check the file and try again.", statusCode: 400, cause: err, } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.6K bytes - Viewed (0) -
tests/soft_delete_test.go
t.Fatalf("No error should happen when soft delete user, but got %v", err) } zeroTime, _ := now.Parse("1970-01-01 00:00:01") if book.DeletedAt.Time.Equal(zeroTime) { t.Errorf("book's deleted at should not be zero, DeletedAt: %v", book.DeletedAt) } if DB.First(&SoftDeleteBook{}, "name = ?", book.Name).Error == nil { t.Errorf("Can't find a soft deleted record") } count = 0
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Feb 01 06:40:55 UTC 2023 - 5.7K bytes - Viewed (0) -
cmd/admin-handler-utils.go
// specific error. func toAdminAPIErrCode(ctx context.Context, err error) APIErrorCode { if errors.Is(err, errErasureWriteQuorum) { return ErrAdminConfigNoQuorum } return toAPIErrorCode(ctx, err) } // wraps export error for more context func exportError(ctx context.Context, err error, fname, entity string) APIError { if entity == "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 03 07:17:20 UTC 2024 - 8.4K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
err := work.Run(func() error { time.Sleep(600 * time.Millisecond) return nil }) if err != context.DeadlineExceeded { t.Error("DeadlineWorker shouldn't be successful - should return context.DeadlineExceeded") } err = work.Run(func() error { time.Sleep(450 * time.Millisecond) return nil }) if err != nil { t.Error("DeadlineWorker should succeed") } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/handling-errors.md
**FastAPI** faz uso dele para que você veja o erro no seu log, caso você utilize um modelo de Pydantic em `response_model`, e seus dados tenham erro. Contudo, o cliente ou usuário não terão acesso a ele. Ao contrário, o cliente receberá um "Internal Server Error" com o HTTP status code `500`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10K bytes - Viewed (0) -
src/bufio/bufio_test.go
if err != nil { t.Error("unexpected error on ReadRune (2):", err) } _, err = r.Read(buf) if err != nil { t.Error("unexpected error on Read (2):", err) } if r.UnreadRune() == nil { t.Error("expected error after Read (2)") } // Test error after ReadByte. _, _, err = r.ReadRune() // reset state if err != nil { t.Error("unexpected error on ReadRune (2):", err) } for range buf {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0)