- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 1,126 for Errorfs (0.04 seconds)
-
docs/debugging/inspect/decrypt-v2.go
if err == io.EOF { if extracted { return nil } return errors.New("no data found on stream") } if errors.Is(err, estream.ErrNoKey) { fmt.Println("Skipping", stream.Name, "no private key") if err := stream.Skip(); err != nil { return fmt.Errorf("stream skip: %w", err) } continue } return fmt.Errorf("next stream: %w", err) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Feb 17 17:09:42 GMT 2025 - 2.3K bytes - Click Count (0) -
internal/s3select/sql/analysis.go
// error can be returned. var ( // Fatal error for query processing. errNestedAggregation = errors.New("Cannot nest aggregations") errFunctionNotImplemented = errors.New("Function is not yet implemented") errUnexpectedInvalidNode = errors.New("Unexpected node value") errInvalidKeypath = errors.New("A provided keypath is invalid") ) // qProp contains analysis info about an SQL term. type qProp struct {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.6K bytes - Click Count (0) -
tests/named_argument_test.go
t.Errorf("should return record not found error, but got %v", err) } DB.Delete(&namedUser) var result8 NamedUser if err := DB.Where("name1 = @name OR name2 = @name", map[string]interface{}{"name": "jinzhu-new"}).First(&result8).Error; err == nil || !errors.Is(err, gorm.ErrRecordNotFound) { t.Errorf("should return record not found error, but got %v", err)Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Dec 21 11:50:00 GMT 2021 - 2.7K bytes - Click Count (0) -
internal/ioutil/ioutil_test.go
if written != 5 { t.Errorf("Expected written to be '5', but got %v", written) } f.Seek(0, io.SeekStart) r.Seek(0, io.SeekStart) written, err = CopyAligned(f, r, *bufp, r.Size(), f) if !errors.Is(err, nil) { t.Errorf("Expected nil, but got %v", err) } if written != r.Size() { t.Errorf("Expected written to be '%v', but got %v", r.Size(), written) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5.6K bytes - Click Count (0) -
docs/zh/docs/tutorial/handling-errors.md
Marcelo Trylesinski <******@****.***> 1760204929 +0100
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 8.2K bytes - Click Count (0) -
internal/crypto/error.go
ErrInvalidEncryptionKeyID = Errorf("KMS KeyID contains unsupported characters") ) var ( errMissingInternalIV = Errorf("The object metadata is missing the internal encryption IV") errMissingInternalSealAlgorithm = Errorf("The object metadata is missing the internal seal algorithm") errInvalidInternalIV = Errorf("The internal encryption IV is malformed")Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.4K bytes - Click Count (0) -
utils/utils_test.go
func TestAssertEqual(t *testing.T) { now := time.Now() assertEqualTests := []struct { name string src, dst interface{} out bool }{ {"error equal", errors.New("1"), errors.New("1"), true}, {"error not equal", errors.New("1"), errors.New("2"), false}, {"driver.Valuer equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now, Valid: true}, true},
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 4.9K bytes - Click Count (0) -
cmd/erasure-metadata-utils_test.go
if cdiskCount != testCase.diskCount { t.Errorf("Test %d: Expected %d, got %d", i+1, testCase.diskCount, cdiskCount) } } } // Test for reduceErrs, reduceErr reduces collection // of errors into a single maximal error with in the list. func TestReduceErrs(t *testing.T) { canceledErrs := make([]error, 0, 5) for i := range 5 { canceledErrs = append(canceledErrs, fmt.Errorf("error %d: %w", i, context.Canceled)) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.3K bytes - Click Count (0) -
cmd/global-heal.go
} jt.Take() go healEntry(bucket, *entry) }, finished: func(errs []error) { success := countErrs(errs, nil) if success < len(disks)/2+1 { retErr = fmt.Errorf("one or more errors reported during listing: %v", errors.Join(errs...)) } }, }) jt.Wait() // synchronize all the concurrent heal jobs if err != nil { // Set this such that when we return this function
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 04 13:49:12 GMT 2025 - 16.2K bytes - Click Count (0) -
cmd/httprange.go
if offsetBeginString[0] == '+' { return nil, fmt.Errorf("Byte position ('%s') must not have a sign", offsetBeginString) } else if offsetBegin, err = strconv.ParseInt(offsetBeginString, 10, 64); err != nil { return nil, fmt.Errorf("'%s' does not have a valid first byte position value", rangeString) } else if offsetBegin < 0 { return nil, fmt.Errorf("First byte position is negative ('%d')", offsetBegin) } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.9K bytes - Click Count (0)