- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 2,416 for errPos (0.07 sec)
-
gorm.go
return db.callbacks } // AddError add error to db func (db *DB) AddError(err error) error { if err != nil { if db.Config.TranslateError { if errTranslator, ok := db.Dialector.(ErrorTranslator); ok { err = errTranslator.Translate(err) } } if db.Error == nil { db.Error = err } else { db.Error = fmt.Errorf("%v; %w", db.Error, err) } } return db.Error }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Oct 09 11:29:48 UTC 2024 - 12.1K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_redirect.go
} type annotationValidationFunc func(value string) error type annotationParam struct { key string defaultVal string validator annotationValidationFunc } func alwaysValidFunc(value string) error { return nil } // validateInterceptionMode validates the interceptionMode annotation func validateInterceptionMode(mode string) error { switch mode { case redirectModeREDIRECT:
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 10.6K bytes - Viewed (0) -
src/main/webapp/WEB-INF/web.xml
<error-code>403</error-code> <location>/WEB-INF/view/error/redirect.jsp?type=logOut</location> </error-page> <error-page> <error-code>404</error-code> <location>/WEB-INF/view/error/redirect.jsp?type=notFound</location> </error-page> <error-page> <error-code>408</error-code> <location>/WEB-INF/view/error/redirect.jsp?type=logOut</location> </error-page> <error-page>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 29 02:54:01 UTC 2024 - 7.1K bytes - Viewed (0) -
tests/connpool_test.go
if err = tx.Save(&user).Error; err != nil { t.Fatalf("No error should raise, but got %v", err) } if err = tx.First(&User{}, "name = ?", "transaction").Error; err != nil { t.Fatalf("Should find saved record, but got %v", err) } user1 := *GetUser("transaction1-1", Config{}) if err = tx.Save(&user1).Error; err != nil { t.Fatalf("No error should raise, but got %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Feb 06 02:54:40 UTC 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/tag/tag_test.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_cluster_test.cc
TestRemoteExecuteUpdateServerDefResourceAccess(true); } void TestRemoteExecuteUpdateServerDefWithFailures(bool async) { // Fail fast on GetStatus requests so we can get errors instead of timeout // when updating cluster with non-exsitent worker tensorflow::setenv("GRPC_FAIL_FAST", "TRUE", /*overwrite=*/1); tensorflow::ServerDef server_def = GetServerDef(2);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.2K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java
public void warn(CharSequence content, Throwable error) { print("warn", content, error); } /** * @see org.apache.maven.plugin.logging.Log#warn(java.lang.Throwable) */ public void warn(Throwable error) { print("warn", error); } /** * @see org.apache.maven.plugin.logging.Log#error(java.lang.CharSequence) */ public void error(CharSequence content) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
tests/serializer_test.go
t.Fatalf("no error should happen when migrate scanner, valuer struct, got error %v", err) } data := SerializerStruct{} if err := DB.Create(&data).Error; err != nil { t.Fatalf("failed to create data, got error %v", err) } var result SerializerStruct if err := DB.First(&result, data.ID).Error; err != nil { t.Fatalf("failed to query data, got error %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Apr 21 14:09:38 UTC 2023 - 7.6K bytes - Viewed (0) -
tests/postgres_test.go
var result Yasuo if err := DB.First(&result, "id = ?", yasuo.ID).Error; err != nil || yasuo.Name != "jinzhu" { t.Errorf("No error should happen, but got %v", err) } if err := DB.Where("id = $1", yasuo.ID).First(&Yasuo{}).Error; err != nil || yasuo.Name != "jinzhu" { t.Errorf("No error should happen, but got %v", err) } yasuo.Name = "jinzhu1" if err := DB.Save(&yasuo).Error; err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Oct 08 09:16:32 UTC 2022 - 6.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
throw new Error(); } catch (AssertionFailedError expected) { } try { assertContentsInOrder(list, "a", "c", "b"); throw new Error(); } catch (AssertionFailedError expected) { } try { assertContentsInOrder(list, "a", "B", "c"); throw new Error(); } catch (AssertionFailedError expected) { } } public void testAssertContains() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.1K bytes - Viewed (0)