Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 168 for errorCh (0.17 sec)

  1. internal/bucket/replication/error.go

    package replication
    
    import (
    	"fmt"
    )
    
    // Error is the generic type for any error happening during tag
    // parsing.
    type Error struct {
    	err error
    }
    
    // Errorf - formats according to a format specifier and returns
    // the string as a value that satisfies error of type tagging.Error
    func Errorf(format string, a ...interface{}) error {
    	return Error{err: fmt.Errorf(format, a...)}
    }
    
    // Unwrap the internal error.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/error.go

    type strictDecodingError struct {
    	errors []error
    }
    
    // NewStrictDecodingError creates a new strictDecodingError object.
    func NewStrictDecodingError(errors []error) error {
    	return &strictDecodingError{
    		errors: errors,
    	}
    }
    
    func (e *strictDecodingError) Error() string {
    	var s strings.Builder
    	s.WriteString("strict decoding error: ")
    	for i, err := range e.errors {
    		if i != 0 {
    			s.WriteString(", ")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 21:24:36 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  3. src/html/template/error.go

    	}
    	return "html/template: " + e.Description
    }
    
    // errorf creates an error given a format string f and args.
    // The template Name still needs to be supplied.
    func errorf(k ErrorCode, node parse.Node, line int, f string, args ...any) *Error {
    	return &Error{k, node, "", line, fmt.Sprintf(f, args...)}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. security/pkg/pki/error/error.go

    	CertGenError
    	// CAIllegalConfig means the configuration/deployment parameters for CA are incorrect
    	CAIllegalConfig
    	// CAInitFail means some other unexpected and fatal initilization failure
    	CAInitFail
    )
    
    // Error encapsulates the short and long errors.
    type Error struct {
    	t   ErrType
    	err error
    }
    
    // Error returns the string error message.
    func (e Error) Error() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 13 17:41:21 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/webhook/error.go

    import (
    	"fmt"
    
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    )
    
    // ErrCallingWebhook is returned for transport-layer errors calling webhooks. It
    // represents a failure to talk to the webhook, not the webhook rejecting a
    // request.
    type ErrCallingWebhook struct {
    	WebhookName string
    	Reason      error
    	Status      *apierrors.StatusError
    }
    
    func (e *ErrCallingWebhook) Error() string {
    	if e.Reason != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 05 18:36:22 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller_test.go

    			return tracker.List(fakeGVR, fakeGVK, "")
    		},
    		WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
    			return tracker.Watch(fakeGVR, "")
    		},
    	}, &unstructured.Unstructured{}, 30*time.Second, nil)}
    
    	reconciler := func(namespace, name string, newObj *unstructured.Unstructured) error {
    		var err error
    		copied := newObj.DeepCopyObject()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. docs/es/docs/deployment/versions.md

    **FastAPI** está siendo utilizado en producción en muchas aplicaciones y sistemas. La cobertura de los tests se mantiene al 100%. Sin embargo, su desarrollo sigue siendo rápido.
    
    Se agregan nuevas características frecuentemente, se corrigen errores continuamente y el código está constantemente mejorando.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Feb 07 11:55:38 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. cmd/erasure-errors.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "errors"
    
    // errErasureReadQuorum - did not meet read quorum.
    var errErasureReadQuorum = errors.New("Read failed. Insufficient number of drives online")
    
    // errErasureWriteQuorum - did not meet write quorum.
    var errErasureWriteQuorum = errors.New("Write failed. Insufficient number of drives online")
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 04 23:10:08 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. 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)
  10. docs/ru/docs/tutorial/handling-errors.md

    **FastAPI** использует его для того, чтобы, если вы используете Pydantic-модель в `response_model`, и ваши данные содержат ошибку, вы увидели ошибку в журнале.
    
    Но клиент/пользователь этого не увидит. Вместо этого клиент получит сообщение "Internal Server Error" с кодом состояния HTTP `500`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top