Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 59 of 59 for errorCode (0.7 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc

        std::unique_ptr<tensorflow::SavedModelBundle>* saved_model_bundle) {
      if (absl::EndsWith(input_path, ".mlir")) {
        auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(input_path.c_str());
        if (std::error_code error = file_or_err.getError()) {
          return tensorflow::errors::InvalidArgument(
              absl::StrCat("Could not open input file: ", input_path,
                           ", message=", error.message()));
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/main/config/openapi/openapi-user.yaml

          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      schemas:
        Error:
          type: object
          properties:
            error_code:
              type: string
              example: "bd6b0bd6-0144-40bc-9567-c5751dd8eecb"
            message:
              type: string
              example: "This is an error message."
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  3. cmd/api-router.go

    func getHost(r *http.Request) string {
    	if r.URL.IsAbs() {
    		return r.URL.Host
    	}
    	return r.Host
    }
    
    func notImplementedHandler(w http.ResponseWriter, r *http.Request) {
    	writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    }
    
    type rejectedAPI struct {
    	api     string
    	methods []string
    	queries []string
    	path    string
    }
    
    var rejectedObjAPIs = []rejectedAPI{
    	{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/errors/errors_test.go

    			},
    			`Kind "name" is invalid`,
    		},
    	}
    	for i, testCase := range testCases {
    		vErr, expected := testCase.Err, testCase.Details
    		if vErr != nil && expected != nil {
    			expected.Causes[0].Message = vErr.ErrorBody()
    		}
    		var errList field.ErrorList
    		if vErr != nil {
    			errList = append(errList, vErr)
    		}
    		err := NewInvalid(kind("Kind"), "name", errList)
    		status := err.ErrStatus
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental.h

                                                        TF_Status* status);
    
    // Report error (specified by error_code and error_message) to other tasks in
    // the cluster.
    TF_CAPI_EXPORT extern void TFE_ReportErrorToCluster(TFE_Context* ctx,
                                                        int error_code,
                                                        const char* error_message,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  6. cmd/handler-utils.go

    		resource, err := getResource(r.URL.Path, r.Host, globalDomainNames)
    		if err != nil {
    			defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    
    			apiErr := errorCodes.ToAPIErr(ErrUnsupportedHostHeader)
    			apiErr.Description = fmt.Sprintf("%s: %v", apiErr.Description, err)
    
    			writeErrorResponse(r.Context(), w, apiErr, r.URL)
    			return
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. cmd/admin-router.go

    		if !handlerFlags.Has(noObjLayerFlag) {
    			objectAPI := newObjectLayerFn()
    			if objectAPI == nil || globalNotificationSys == nil {
    				writeErrorResponseJSON(r.Context(), w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    				return
    			}
    		}
    
    		// Apply http tracing "middleware" based on presence of flag.
    		var f2 http.HandlerFunc
    		if handlerFlags.Has(traceAllFlag) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/errors/errors.go

    	causes := make([]metav1.StatusCause, 0, len(errs))
    	for i := range errs {
    		err := errs[i]
    		causes = append(causes, metav1.StatusCause{
    			Type:    metav1.CauseType(err.Type),
    			Message: err.ErrorBody(),
    			Field:   err.Field,
    		})
    	}
    	err := &StatusError{metav1.Status{
    		Status: metav1.StatusFailure,
    		Code:   http.StatusUnprocessableEntity,
    		Reason: metav1.StatusReasonInvalid,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 21 03:41:32 UTC 2022
    - 30.5K bytes
    - Viewed (0)
  9. cmd/sts-handlers.go

    	if apiErrCode != ErrNone {
    		stsErr := apiToSTSError(apiErrCode)
    		// Borrow the description error from the API error code
    		writeSTSErrorResponse(ctx, w, stsErr, fmt.Errorf(errorCodes[apiErrCode].Description))
    		return
    	}
    
    	if err := claims.populateSessionPolicy(r.Form); err != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err)
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top