Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for errString (0.19 sec)

  1. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/BuildOperationNotificationsFixtureTest.groovy

            def listener = listener()
    
            when:
            listener.started(startedNotification(ErroringDetails))
    
            then:
            def e = thrown(RuntimeException)
            e.message == "Failed to invoke erroring() of $ErroringDetails.name"
            e.cause instanceof RuntimeException
            e.cause.message == "!"
        }
    
        BuildOperationNotificationListener listener() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. fastapi/security/api_key.py

                    automatically cancel the request and send the client an error.
    
                    If `auto_error` is set to `False`, when the query parameter is not
                    available, instead of erroring out, the dependency result will be
                    `None`.
    
                    This is useful when you want to have optional authentication.
    
                    It is also useful when you want to have authentication that can be
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 23 22:29:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. fastapi/security/http.py

                    client an error.
    
                    If `auto_error` is set to `False`, when the HTTP Basic authentication
                    is not available, instead of erroring out, the dependency result will
                    be `None`.
    
                    This is useful when you want to have optional authentication.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Apr 19 15:29:38 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. fastapi/security/open_id_connect_url.py

                    and send the client an error.
    
                    If `auto_error` is set to `False`, when the HTTP Authorization header
                    is not available, instead of erroring out, the dependency result will
                    be `None`.
    
                    This is useful when you want to have optional authentication.
    
                    It is also useful when you want to have authentication that can be
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. fastapi/security/oauth2.py

                    send the client an error.
    
                    If `auto_error` is set to `False`, when the HTTP Authorization header
                    is not available, instead of erroring out, the dependency result will
                    be `None`.
    
                    This is useful when you want to have optional authentication.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go

    			expectMatches: false,
    		},
    		{
    			name: "erroring namespace selector on otherwise non-matching rule doesn't error",
    			criteria: &v1.MatchResources{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  7. src/fmt/print.go

    	goodArgNum bool
    	// panicking is set by catchPanic to avoid infinite panic, recover, panic, ... recursion.
    	panicking bool
    	// erroring is set when printing an error string to guard against calling handleMethods.
    	erroring bool
    	// wrapErrs is set when the format string may contain a %w verb.
    	wrapErrs bool
    	// wrappedErrs records the targets of the %w verb.
    	wrappedErrs []int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/claiminfo_test.go

    		},
    		{
    			description: "successfully called function",
    			funcGen: func(cache *claimInfoCache) func() error {
    				return func() error {
    					return nil
    				}
    			},
    		},
    		{
    			description: "erroring function",
    			funcGen: func(cache *claimInfoCache) func() error {
    				return func() error {
    					return errors.New("test error")
    				}
    			},
    			wantErr: true,
    		},
    	} {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.cc

        }
    
        return mlir::WalkResult::advance();
      });
    
      if (num_submodules > 1) {
        auto num_submodules_error = absl::InternalError(
            "V1 Compat Bridge has more than one submodule. Erroring out.");
        TF_RETURN_IF_ERROR(RecordStatusIfError(
            /*error_prefix=*/"Bridge has more than one submodule:",
            is_in_fallback_enabled_mode, num_submodules_error));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:25:18 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. src/runtime/runtime-gdb_unix_test.go

    	if _, err := r.Read(buf[:]); err != io.EOF {
    		t.Fatalf("control pipe read get err %v want io.EOF", err)
    	}
    
    	// 💥
    	if err := cmd.Process.Signal(os.Signal(syscall.SIGABRT)); err != nil {
    		t.Fatalf("erroring signaling child: %v", err)
    	}
    
    	err = cmd.Wait()
    	t.Logf("child output:\n%s", output.String())
    	if err == nil {
    		t.Fatalf("Wait succeeded, want SIGABRT")
    	}
    	ee, ok := err.(*exec.ExitError)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:05:30 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top