Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 371 for mirrors (0.03 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

         */
        private boolean isRecoverableError(Exception error) {
            // Timeout errors are often recoverable
            if (error instanceof SocketTimeoutException) {
                return true;
            }
    
            // Some socket errors might be recoverable
            if (error instanceof SocketException) {
                String message = error.getMessage();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. 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) {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Dec 21 11:50:00 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  3. tests/preload_test.go

    		Account:   true,
    		Pets:      2,
    		Toys:      3,
    		Company:   true,
    		Manager:   true,
    		Team:      4,
    		Languages: 3,
    		Friends:   1,
    	})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	var user2 User
    	DB.Preload(clause.Associations).Find(&user2, "id = ?", user.ID)
    	CheckUser(t, user2, user)
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. 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},
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 19 01:49:06 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

        }
    
        /**
         * Class definition
         */
        private final boolean errors;
    
        private final T value;
    
        private final Iterable<? extends ModelProblem> problems;
    
        private Result(boolean errors, T model, Iterable<? extends ModelProblem> problems) {
            this.errors = errors;
            this.value = model;
            this.problems = problems;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. okhttp/build.gradle.kts

    afterEvaluate {
      tasks.withType<Test> {
        if (javaLauncher.get().metadata.languageVersion.asInt() < 9) {
          // Work around robolectric requirements and limitations
          // https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:build-system/gradle-core/src/main/java/com/android/build/gradle/tasks/factory/AndroidUnitTest.java;l=339
          allJvmArgs = allJvmArgs.filter { !it.startsWith("--add-opens") }
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. docs_src/custom_request_and_route/tutorial002_an_py39.py

                try:
                    return await original_route_handler(request)
                except RequestValidationError as exc:
                    body = await request.body()
                    detail = {"errors": exc.errors(), "body": body.decode()}
                    raise HTTPException(status_code=422, detail=detail)
    
            return custom_route_handler
    
    
    app = FastAPI()
    app.router.route_class = ValidationErrorLoggingRoute
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 947 bytes
    - Viewed (0)
  8. docs_src/custom_request_and_route/tutorial002_py310.py

                try:
                    return await original_route_handler(request)
                except RequestValidationError as exc:
                    body = await request.body()
                    detail = {"errors": exc.errors(), "body": body.decode()}
                    raise HTTPException(status_code=422, detail=detail)
    
            return custom_route_handler
    
    
    app = FastAPI()
    app.router.route_class = ValidationErrorLoggingRoute
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 935 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exception/FessSystemException.java

     */
    package org.codelibs.fess.exception;
    
    /**
     * System exception class for the Fess search engine.
     * This exception is thrown when system-level errors occur in the Fess application,
     * such as configuration errors, initialization failures, or critical runtime issues.
     */
    public class FessSystemException extends RuntimeException {
    
        /** Serial version UID for serialization compatibility */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. docs_src/handling_errors/tutorial004_py39.py

    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc: RequestValidationError):
        message = "Validation errors:"
        for error in exc.errors():
            message += f"\nField: {error['loc']}, Error: {error['msg']}"
        return PlainTextResponse(message, status_code=400)
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 920 bytes
    - Viewed (0)
Back to top