- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 1,855 for Errors (0.04 seconds)
-
tests/update_test.go
if err := DB.Model(user).Update("Age", 10).Error; err != nil { t.Errorf("errors happened when update: %v", err) } else if user.Age != 10 { t.Errorf("Age should equals to 10, but got %v", user.Age) } checkUpdatedAtChanged("Update", user.UpdatedAt) checkOtherData("Update") var result User if err := DB.Where("id = ?", user.ID).First(&result).Error; err != nil { t.Errorf("errors happened when query: %v", err) } else {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 30.4K bytes - Click Count (0) -
.teamcity/README.md
- At the popup window, click `Import Settings from VCS`. Wait a few seconds. - If the error says "Context Parameter 'Branch' missing", it's ok. Click into the error and add a context parameter `Branch` with value `myTestBranch`. Go back and it automatically reloads. - If there are any errors, read the error and fix your code.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Mar 06 23:02:25 GMT 2024 - 4K bytes - Click Count (0) -
internal/dsync/dsync-client_test.go
func (restClient *ReconnectRESTClient) Close() error { return nil } var ( errLockConflict = errors.New("lock conflict") errLockNotFound = errors.New("lock not found") ) func toLockError(err error) error { if err == nil { return nil } switch err.Error() { case errLockConflict.Error(): return errLockConflict case errLockNotFound.Error(): return errLockNotFound } return err }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 20 17:36:09 GMT 2022 - 4.4K bytes - Click Count (0) -
internal/config/api/api.go
default: return cfg, fmt.Errorf("invalid value %v for list_quorum: will default to 'strict'", listQuorum) } cfg.ListQuorum = listQuorum replicationPriority := env.Get(EnvAPIReplicationPriority, kvs.GetWithDefault(apiReplicationPriority, DefaultKVS)) switch replicationPriority { case "slow", "fast", "auto": default: return cfg, fmt.Errorf("invalid value %v for replication_priority", replicationPriority)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.5K bytes - Click Count (1) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
final List<ProfileActivationException> errors = new ArrayList<>(); List<Profile> profiles = profileSelector.getActiveProfiles(profilesById.values(), context, req -> { if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) { errors.add(new ProfileActivationException(req.getMessage(), req.getException())); } }); if (!errors.isEmpty()) { throw errors.get(0);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.9K bytes - Click Count (0) -
internal/etag/etag.go
if strict && len(etag) != 16 { // AWS S3 ETags are always 128 bit long return nil, fmt.Errorf("etag: invalid length %d", len(etag)) } return ETag(etag), nil } prefix, suffix := s[:n], s[n:] if len(prefix) != 32 { return nil, fmt.Errorf("etag: invalid prefix length %d", len(prefix)) } if len(suffix) <= 1 { return nil, errors.New("etag: suffix is not a part number") }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 13.2K bytes - Click Count (0) -
cmd/sftp-server.go
aes128cbcID = "aes128-cbc" tripledescbcID = "3des-cbc" ) var ( errSFTPPublicKeyBadFormat = errors.New("the public key provided could not be parsed") errSFTPUserHasNoPolicies = errors.New("no policies present on this account") errSFTPLDAPNotEnabled = errors.New("ldap authentication is not enabled") ) // if the sftp parameter --trusted-user-ca-key is set, then
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.5K bytes - Click Count (0) -
cmd/xl-storage.go
if contextCanceled(ctx) { parts[idx] = &ObjectPartInfo{ Error: ctx.Err().Error(), Number: partNumber, } continue } if err := Access(pathJoin(volumeDir, pathutil.Dir(partMetaPath), fmt.Sprintf("part.%d", partNumber))); err != nil { parts[idx] = &ObjectPartInfo{ Error: err.Error(), Number: partNumber, } continue }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 91.7K bytes - Click Count (0) -
scripts/sponsors.py
) if response.status_code != 200: logging.error(f"Response was not 200, after: {after}") logging.error(response.text) raise RuntimeError(response.text) data = response.json() if "errors" in data: logging.error(f"Errors in response, after: {after}") logging.error(data["errors"]) logging.error(response.text) raise RuntimeError(response.text) return dataCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 12:34:01 GMT 2025 - 6.1K bytes - Click Count (0) -
cmd/lock-rest-server-common.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 973 bytes - Click Count (0)