- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 2,696 for error (0.15 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java
return success(model, problemsList); } /** * Error with problems describing the cause * * @param problems */ public static <T> Result<T> error(Iterable<? extends ModelProblem> problems) { return error(null, problems); } public static <T> Result<T> error(T model) { return error(model, Collections.emptyList()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 6.9K bytes - Viewed (0) -
tests/scan_test.go
if err != nil { t.Errorf("No error should happen, got %v", err) } type Result struct { Name string Age int } var results []Result for rows.Next() { var result Result if err := DB.ScanRows(rows, &result); err != nil { t.Errorf("should get no error, but got %v", err) } results = append(results, result) }Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Jun 12 10:57:36 UTC 2024 - 10.9K bytes - Viewed (0) -
callbacks/delete.go
if db.AddError(tx.Clauses(clause.Where{Exprs: queryConds}).Delete(modelValue).Error) != nil { return } } } } } func Delete(config *Config) func(db *gorm.DB) { supportReturning := utils.Contains(config.DeleteClauses, "RETURNING") return func(db *gorm.DB) { if db.Error != nil { return } if db.Statement.Schema != nil {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 5.8K bytes - Viewed (0) -
internal/config/identity/openid/jwt.go
} defer r.closeRespFn(resp.Body) if resp.StatusCode != http.StatusOK { return errors.New(resp.Status) } return r.pubKeys.parseAndAdd(resp.Body) } // ErrTokenExpired - error token expired var ( ErrTokenExpired = errors.New("token expired") ) func updateClaimsExpiry(dsecs string, claims map[string]any) error { expStr := claims["exp"] if expStr == "" { return ErrTokenExpired }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.4K bytes - Viewed (0) -
cmd/admin-handlers-users-race_test.go
} accessKeys[i] = accessKey secretKeys[i] = secretKey } g := errgroup.Group{} for i := range userCount { g.Go(func(i int) func() error { return func() error { uClient := s.getUserClient(c, accessKeys[i], secretKeys[i], "") err := s.adm.RemoveUser(ctx, accessKeys[i]) if err != nil { return err }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4K bytes - Viewed (0) -
tests/update_has_one_test.go
func TestUpdateHasOne(t *testing.T) { user := *GetUser("update-has-one", Config{}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } user.Account = Account{Number: "account-has-one-association"} if err := DB.Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user2 User DB.Preload("Account").Find(&user2, "id = ?", user.ID)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Jul 14 06:55:54 UTC 2022 - 3.6K bytes - Viewed (0) -
cmd/common-main.go
} func newConfigDir(dir string, dirSet bool, getDefaultDir func() string) (*ConfigDir, error) { if dir == "" { dir = getDefaultDir() } if dir == "" { if !dirSet { return nil, fmt.Errorf("missing option must be provided") } return nil, fmt.Errorf("provided option cannot be empty") } // Disallow relative paths, figure out absolute paths.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.5K bytes - Viewed (3) -
cmd/erasure-healing_test.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 48.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java
* * @param startDirectory the directory to start discovery from * @return a map of Path to Document for all discovered POM files * @throws IOException if there's an error reading files * @throws DomTripException if there's an error parsing XML */ public static Map<Path, Document> discoverPoms(Path startDirectory) throws IOException, DomTripException { Map<Path, Document> pomMap = new HashMap<>();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
assertEquals("DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", result.getMessage(), "Should return correct error message for code 2"); } @Test @DisplayName("getResult should return exception for error code 3") void testGetResultError3() throws Exception { // Given setResultField(bind, 3);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0)