Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for internalError (0.17 sec)

  1. pkg/apis/admissionregistration/validation/validation.go

    		case cel.ErrorTypeInvalid:
    			return field.Invalid(fldPath, expression.GetExpression(), celErr.Detail)
    		case cel.ErrorTypeInternal:
    			return field.InternalError(fldPath, celErr)
    		}
    	}
    	return field.InternalError(fldPath, fmt.Errorf("unsupported error type: %w", err))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		Description:    "You did not provide the number of bytes specified by the Content-Length HTTP header.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInternalError: {
    		Code:           "InternalError",
    		Description:    "We encountered an internal error, please try again.",
    		HTTPStatusCode: http.StatusInternalServerError,
    	},
    	ErrInvalidAccessKeyID: {
    		Code:           "InvalidAccessKeyId",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    			if err != nil {
    				allErrs.CELErrors = append(allErrs.CELErrors, field.InternalError(fldPath.Child("x-kubernetes-validations"), fmt.Errorf("internal error: failed to construct type information for x-kubernetes-validations rules: %s", err)))
    			} else if typeInfo == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  4. src/go/printer/nodes.go

    		// all comments up to g, ignore anything after that
    		p.flush(p.posFor(g.List[0].Pos()), token.ILLEGAL)
    		p.comments = p.comments[0:1]
    		// in debug mode, report error
    		p.internalError("setComment found pending comments")
    	}
    	p.comments[0] = g
    	p.cindex = 0
    	// don't overwrite any pending comment in the p.comment cache
    	// (there may be a pending comment when a line comment is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  5. pkg/controller/history/controller_history_test.go

    			}
    			return true, update.GetObject(), nil
    		default:
    			return false, nil, nil
    		}
    	}
    	internalError := func(action core.Action) (bool, runtime.Object, error) {
    		switch action.(type) {
    		case core.UpdateActionImpl:
    			return true, nil, errors.NewInternalError(fmt.Errorf("internal error"))
    		default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    	CauseTypeTooMany CauseType = "FieldValueTooMany"
    	// CauseTypeInternal is used to report other errors that are not related
    	// to user input.  See InternalError().
    	CauseTypeInternal CauseType = "InternalError"
    	// CauseTypeTypeInvalid is for the value did not match the schema type for that field
    	CauseTypeTypeInvalid CauseType = "FieldValueTypeInvalid"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    	// TODO(wojtek-t): It seems that etcd is currently returning a different error,
    	// being an Internal error of "etcd event received with PrevKv=nil".
    	// We temporary allow both but we should unify here.
    	internalError := metav1.Status{
    		Status: metav1.StatusFailure,
    		Code:   http.StatusInternalServerError,
    		Reason: metav1.StatusReasonInternalError,
    	}
    	testCheckResultFunc(t, tooOldWatcher, func(actualEvent watch.Event) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        protocol: Protocol,
        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        recoverFromOneHttp2ErrorRequiresNewConnection(ErrorCode.INTERNAL_ERROR)
      }
    
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun recoverFromOneCancelRequiresNewConnection(
        protocol: Protocol,
        mockWebServer: MockWebServer,
      ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    		}
    		return nil
    	}()
    	if err == nil {
    		return
    	}
    	t.Errorf("Expected APF headers to match, but got: %v", err)
    }
    
    // when a request panics, http2 resets the stream with an INTERNAL_ERROR message
    func expectResetStreamError(t *testing.T, err error) {
    	if err == nil {
    		t.Fatalf("expected the server to send an error, but got nil")
    	}
    	if isStreamReset(err) {
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
Back to top