Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,323 for error1 (0.15 sec)

  1. pkg/controller/volume/persistentvolume/provision_test.go

    				{Verb: "create", Resource: "persistentvolumes", Error: errors.New("Mock creation error5")},
    			},
    			test: wrapTestWithPluginCalls(
    				nil, // recycle calls
    				[]error{ // delete calls
    					errors.New("Mock deletion error1"),
    					errors.New("Mock deletion error2"),
    					errors.New("Mock deletion error3"),
    					errors.New("Mock deletion error4"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    						Detail: "error1",
    					},
    				},
    				{
    					Error: &apiservercel.Error{
    						Detail: "error2",
    					},
    				},
    				{
    					Error: &apiservercel.Error{
    						Detail: "error3",
    					},
    				},
    			},
    			expected: []error{
    				errors.New("error1"),
    				errors.New("error2"),
    				errors.New("error3"),
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/runtime/framework_test.go

    		},
    		{
    			name:               "Reserve - Error",
    			action:             func(f framework.Framework) { f.RunReservePluginsReserve(context.Background(), state, pod, "") },
    			inject:             injectedResult{ReserveStatus: int(framework.Error)},
    			wantExtensionPoint: "Reserve",
    			wantStatus:         framework.Error,
    		},
    		{
    			name:               "PreBind - Error",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/errors.go

    // An errorDesc describes part of a type-checking error.
    type errorDesc struct {
    	pos syntax.Pos
    	msg string
    }
    
    // An error_ represents a type-checking error.
    // A new error_ is created with Checker.newError.
    // To report an error_, call error_.report.
    type error_ struct {
    	check *Checker
    	desc  []errorDesc
    	code  Code
    	soft  bool // TODO(gri) eventually determine this from an error code
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. internal/crypto/error.go

    func Errorf(format string, a ...interface{}) error {
    	e := fmt.Errorf(format, a...)
    	ee := Error{}
    	ee.msg = e.Error()
    	ee.cause = errors.Unwrap(e)
    	return ee
    }
    
    // Unwrap the internal error.
    func (e Error) Unwrap() error { return e.cause }
    
    // Error 'error' compatible method.
    func (e Error) Error() string {
    	if e.msg == "" {
    		return "crypto: cause <nil>"
    	}
    	return e.msg
    }
    
    var (
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/fmt/errors.go

    package fmt
    
    import (
    	"errors"
    	"slices"
    )
    
    // Errorf formats according to a format specifier and returns the string as a
    // value that satisfies error.
    //
    // If the format specifier includes a %w verb with an error operand,
    // the returned error will implement an Unwrap method returning the operand.
    // If there is more than one %w verb, the returned error will implement an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/go/types/errors.go

    // An errorDesc describes part of a type-checking error.
    type errorDesc struct {
    	posn positioner
    	msg  string
    }
    
    // An error_ represents a type-checking error.
    // A new error_ is created with Checker.newError.
    // To report an error_, call error_.report.
    type error_ struct {
    	check *Checker
    	desc  []errorDesc
    	code  Code
    	soft  bool // TODO(gri) eventually determine this from an error code
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/os/error.go

    	return underlyingErrorIs(err, ErrExist)
    }
    
    // IsNotExist returns a boolean indicating whether the error is known to
    // report that a file or directory does not exist. It is satisfied by
    // [ErrNotExist] as well as some syscall errors.
    //
    // This function predates [errors.Is]. It only supports errors returned by
    // the os package. New code should use errors.Is(err, fs.ErrNotExist).
    func IsNotExist(err error) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. errors.go

    	// ErrSubQueryRequired sub query required
    	ErrSubQueryRequired = errors.New("sub query required")
    	// ErrInvalidData unsupported data
    	ErrInvalidData = errors.New("unsupported data")
    	// ErrUnsupportedDriver unsupported driver
    	ErrUnsupportedDriver = errors.New("unsupported driver")
    	// ErrRegistered registered
    	ErrRegistered = errors.New("registered")
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 26 02:53:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/runtime/error.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/bytealg"
    )
    
    // The Error interface identifies a run time error.
    type Error interface {
    	error
    
    	// RuntimeError is a no-op function but
    	// serves to distinguish types that are run time
    	// errors from ordinary errors: a type is a
    	// run time error if it has a RuntimeError method.
    	RuntimeError()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top