Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,116 for error1 (0.14 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. staging/src/k8s.io/apimachinery/pkg/api/errors/errors.go

    // IsAlreadyExists determines if the err is an error which indicates that a specified resource already exists.
    // It supports wrapped errors and returns false when the error is nil.
    func IsAlreadyExists(err error) bool {
    	return ReasonForError(err) == metav1.StatusReasonAlreadyExists
    }
    
    // IsConflict determines if the err is an error which indicates the provided update conflicts.
    // It supports wrapped errors and returns false when the error is nil.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 21 03:41:32 UTC 2022
    - 30.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go

    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apimachinery/pkg/util/sets"
    )
    
    // Error is an implementation of the 'error' interface, which represents a
    // field-level validation error.
    type Error struct {
    	Type     ErrorType
    	Field    string
    	BadValue interface{}
    	Detail   string
    }
    
    var _ error = &Error{}
    
    // Error implements the error interface.
    func (v *Error) Error() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  5. 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)
  6. internal/s3select/unused-errors.go

    package s3select
    
    // /////////////////////////////////////////////////////////////////////
    //
    //	Validation errors.
    //
    // /////////////////////////////////////////////////////////////////////
    func errExpressionTooLong(err error) *s3Error {
    	return &s3Error{
    		code:       "ExpressionTooLong",
    		message:    "The SQL expression is too long: The maximum byte-length for the SQL expression is 256 KB.",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. cmd/object-api-errors.go

    	return errors.As(err, &bkNotFound)
    }
    
    // isErrReadQuorum check if the error type is InsufficientReadQuorum
    func isErrReadQuorum(err error) bool {
    	var rquorum InsufficientReadQuorum
    	return errors.As(err, &rquorum)
    }
    
    // isErrWriteQuorum check if the error type is InsufficientWriteQuorum
    func isErrWriteQuorum(err error) bool {
    	var rquorum InsufficientWriteQuorum
    	return errors.As(err, &rquorum)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 22:19:00 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/handling-errors.md

    **FastAPI** faz uso dele para que você veja o erro no seu log, caso você utilize um modelo de Pydantic em `response_model`, e seus dados tenham erro.
    
    Contudo, o cliente ou usuário não terão acesso a ele. Ao contrário, o cliente receberá um "Internal Server Error" com o HTTP status code `500`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/handling-errors.md

    }
    ```
    
    以下のようなテキスト版を取得します:
    
    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    ```
    
    #### `RequestValidationError`と`ValidationError`
    
    !!! warning "注意"
        これらは今のあなたにとって重要でない場合は省略しても良い技術的な詳細です。
    
    `RequestValidationError`はPydanticの<a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>のサブクラスです。
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/handling-errors.md

    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
                    "item_id"
                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    eine Textversion:
    
    ```
    1 validation error
    path -> item_id
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:28:29 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top