Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 2,454 for errPos (0.05 sec)

  1. tests/associations_many2many_test.go

    		t.Fatalf("should raise error when create users without languages reference")
    	}
    
    	if err := DB.Create(&user.Languages).Error; err != nil {
    		t.Fatalf("no error should happen when create languages, but got %v", err)
    	}
    
    	if err := DB.Omit("Languages.*").Create(&user).Error; err != nil {
    		t.Fatalf("no error should happen when create user when languages exists, but got %v", err)
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  2. tests/associations_test.go

    	if err := DB.First(&profile2, "id = ?", profile.ID).Error; err != nil {
    		t.Fatalf("failed to find profile, got error: %v", err)
    	} else if profile2.MemberID != 100 {
    		t.Fatalf("member id is not equal: expects: %v, got: %v", 100, profile2.MemberID)
    	}
    
    	if r := DB.Delete(&member); r.Error != nil || r.RowsAffected != 1 {
    		t.Fatalf("Should delete member, got error: %v, affected: %v", r.Error, r.RowsAffected)
    	}
    
    	var result Member
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 04:33:27 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. docs/en/docs/reference/exceptions.md

    # Exceptions - `HTTPException` and `WebSocketException`
    
    These are the exceptions that you can raise to show errors to the client.
    
    When you raise an exception, as would happen with normal Python, the rest of the execution is aborted. This way you can raise these exceptions from anywhere in the code to abort a request and show the error to the client.
    
    You can use:
    
    * `HTTPException`
    * `WebSocketException`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 597 bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/response-status-code.md

    * **`400 - 499`** são para respostas de "Erro do cliente". Este é o segundo tipo que você provavelmente mais usaria.
        * Um exemplo é `404`, para uma resposta "Não encontrado".
        * Para erros genéricos do cliente, você pode usar apenas `400`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. ADDING_NEW_LANGUAGE.md

    labels.search=Search
    labels.login=Login
    labels.logout=Logout
    # ... approximately 1,056 more entries
    ```
    
    **`fess_message_[locale].properties`** contains system messages such as:
    ```properties
    errors.required={0} is required.
    errors.minlength={0} cannot be less than {1}.
    success.login=Logged in successfully.
    # ... approximately 200 more entries
    ```
    
    ### 3. Update Configuration File
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 11:36:30 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. cmd/admin-bucket-handlers.go

    			bucketMap[bucket].NotificationConfigUpdatedAt = updatedAt
    			rpt.SetStatus(bucket, fileName, nil)
    		case bucketPolicyConfig:
    			// Error out if Content-Length is beyond allowed size.
    			if sz > maxBucketPolicySize {
    				rpt.SetStatus(bucket, fileName, errors.New(ErrPolicyTooLarge.String()))
    				continue
    			}
    
    			bucketPolicyBytes, err := io.ReadAll(io.LimitReader(reader, sz))
    			if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 33.3K bytes
    - Viewed (0)
  7. cmd/storage-datatypes_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "Errs")
    				return
    			}
    			if cap(z.Errs) >= int(zb0002) {
    				z.Errs = (z.Errs)[:zb0002]
    			} else {
    				z.Errs = make([]string, zb0002)
    			}
    			for za0001 := range z.Errs {
    				z.Errs[za0001], err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "Errs", za0001)
    					return
    				}
    			}
    		default:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 151.7K bytes
    - Viewed (0)
  8. tests/test_filter_pydantic_sub_model_pv2.py

        with pytest.raises(ResponseValidationError) as err:
            client.get("/model/modelX")
        assert err.value.errors() == [
            {
                "type": "value_error",
                "loc": ("response", "name"),
                "msg": "Value error, name must end in A",
                "input": "modelX",
                "ctx": {"error": HasRepr("ValueError('name must end in A')")},
            }
        ]
    
    
    def test_openapi_schema(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

                        new ProjectExecutionEvent(session, currentProject, t));
    
                // rethrow original errors and runtime exceptions
                if (t instanceof RuntimeException runtimeException) {
                    throw runtimeException;
                }
                if (t instanceof Error error) {
                    throw error;
                }
            } finally {
                session.setCurrentProject(null);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. internal/s3select/jstream/decoder.go

    	*scanner
    	emitDepth     int
    	maxDepth      int
    	emitKV        bool
    	emitRecursive bool
    	objectAsKVS   bool
    
    	depth   int
    	scratch *scratch
    	metaCh  chan *MetaValue
    	err     error
    
    	// follow line position to add context to errors
    	lineNo    int
    	lineStart int64
    }
    
    // NewDecoder creates new Decoder to read JSON values at the provided
    // emitDepth from the provider io.Reader.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
Back to top