Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 2,450 for erros (0.06 sec)

  1. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    在示例代码的情况下,客户端将会收到 *HTTP 500 Internal Server Error* 的响应,因为我们没有抛出 `HTTPException` 或者类似的异常,并且服务器也 **不会有任何日志** 或者其他提示来告诉我们错误是什么。😱
    
    ### 在包含 `yield` 和 `except` 的依赖项中一定要 `raise`
    
    如果你在使用 `yield` 的依赖项中捕获到了一个异常,你应该再次抛出捕获到的异常,除非你抛出 `HTTPException` 或类似的其他异常,
    
    你可以使用 `raise` 再次抛出捕获到的异常。
    
    {* ../../docs_src/dependencies/tutorial008d_an_py39.py hl[17] *}
    
    现在客户端同样会得到 *HTTP 500 Internal Server Error* 响应,但是服务器日志会记录下我们自定义的 `InternalError`。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-params-str-validations.md

    /// note
    
    FastAPI will know that the value of `q` is not required because of the default value `= None`.
    
    Having `str | None` will allow your editor to give you better support and detect errors.
    
    ///
    
    ## Additional validation { #additional-validation }
    
    We are going to enforce that even though `q` is optional, whenever it is provided, **its length doesn't exceed 50 characters**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

             * - Default: Actual mojo/plugin executions
             *
             * @param step The build step to execute
             * @throws IOException If there's an IO error during execution
             * @throws LifecycleExecutionException If there's a lifecycle execution error
             */
            private void executeStep(BuildStep step) throws IOException, LifecycleExecutionException {
                Clock clock = getClock(step.project);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  4. tests/helper_test.go

    }
    
    func doCheckPet(t *testing.T, pet Pet, expect Pet, unscoped bool) {
    	if pet.ID != 0 {
    		var newPet Pet
    		if err := db(unscoped).Where("id = ?", pet.ID).First(&newPet).Error; err != nil {
    			t.Fatalf("errors happened when query: %v", err)
    		} else {
    			AssertObjEqual(t, newPet, pet, "ID", "CreatedAt", "UpdatedAt", "DeletedAt", "UserID", "Name")
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                    + "(" + result.getPomFile() + ") has "
                    + children.size() + " error" + (children.size() == 1 ? "" : "s");
    
            return new ExceptionSummary(null, message, null, children);
        }
    
        private ExceptionSummary handle(ModelProblem problem, String projectId) {
            if (ModelProblem.Severity.ERROR.compareTo(problem.getSeverity()) >= 0) {
                String message = problem.getMessage();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. docs/metrics/prometheus/grafana/minio-dashboard.json

                ]
              },
              "unit": "none"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "S3 Errors"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "light-red",
                      "mode": "fixed"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Aug 04 01:46:49 UTC 2025
    - 93.1K bytes
    - Viewed (0)
  7. cmd/format-erasure_test.go

    	setCount := 2
    	setDriveCount := 16
    
    	format := newFormatErasureV3(setCount, setDriveCount)
    	format.Erasure.DistributionAlgo = formatErasureVersionV2DistributionAlgoV1
    	formats := make([]*formatErasureV3, 32)
    	errs := make([]error, 32)
    
    	for i := range setCount {
    		for j := range setDriveCount {
    			newFormat := format.Clone()
    			newFormat.Erasure.This = format.Erasure.Sets[i][j]
    			formats[i*setDriveCount+j] = newFormat
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. cmd/admin-handlers-site-replication.go

    			// If there is a disconnection before globalNetPerfMinDuration (we give a margin of error of 1 sec)
    			// would mean the network is not stable. Logging here will help in debugging network issues.
    			if time.Since(connectTime) < (globalNetPerfMinDuration - time.Second) {
    				adminLogIf(ctx, err)
    			}
    		}
    		if err != nil {
    			if errors.Is(err, io.EOF) {
    				w.WriteHeader(http.StatusNoContent)
    			} else {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

                        || e.getNtStatus() == NtStatus.NT_STATUS_ACCESS_DENIED) {
                    // this is the signature error
                    throw new SMBProtocolDowngradeException("Signature error during negotiate validation", e);
                }
    
                // other errors are treated as success
                return;
            }
            final ValidateNegotiateInfoResponse out = resp.getOutputData(ValidateNegotiateInfoResponse.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  10. cmd/metacache-bucket.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"errors"
    	"maps"
    	"runtime/debug"
    	"sort"
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/console"
    )
    
    // a bucketMetacache keeps track of all caches generated
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top