Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for StatusNotFound (0.11 sec)

  1. cmd/admin-handler-utils.go

    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	case config.ErrConfigNotFound:
    		apiErr = APIError{
    			Code:           "XMinioConfigNotFoundError",
    			Description:    e.Error(),
    			HTTPStatusCode: http.StatusNotFound,
    		}
    	case config.ErrConfigGeneric:
    		apiErr = APIError{
    			Code:           "XMinioConfigError",
    			Description:    e.Error(),
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	case AdminError:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. internal/kms/errors.go

    		Err:     "key with given key ID already exits",
    	}
    
    	// ErrKeyNotFound is an error returned by the KMS when trying to
    	// use a key that does not exist.
    	ErrKeyNotFound = Error{
    		Code:    http.StatusNotFound,
    		APICode: "kms:KeyNotFound",
    		Err:     "key with given key ID does not exist",
    	}
    
    	// ErrDecrypt is an error returned by the KMS when the decryption
    	// of a ciphertext failed.
    	ErrDecrypt = Error{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 16 14:03:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. internal/config/identity/openid/provider/keycloak.go

    	switch resp.StatusCode {
    	case http.StatusOK, http.StatusPartialContent:
    		var u User
    		if err = json.NewDecoder(resp.Body).Decode(&u); err != nil {
    			return User{}, err
    		}
    		return u, nil
    	case http.StatusNotFound:
    		return User{
    			ID:      userid,
    			Enabled: false,
    		}, nil
    	case http.StatusUnauthorized:
    		return User{}, ErrAccessTokenExpired
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:12:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. cmd/warm-backend-azure.go

    		err = NotImplemented{}
    	case "OutOfRangeInput":
    		err = ObjectNameInvalid{
    			Bucket: bucket,
    			Object: object,
    		}
    	default:
    		switch statusCode {
    		case http.StatusNotFound:
    			if object != "" {
    				err = ObjectNotFound{
    					Bucket: bucket,
    					Object: object,
    				}
    			} else {
    				err = BucketNotFound{Bucket: bucket}
    			}
    		case http.StatusBadRequest:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. cmd/metrics-v3-handler.go

    	var notFoundHandler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		http.Error(w, "Metrics Resource Not found", http.StatusNotFound)
    	})
    
    	// Require that metrics path has one component at least.
    	if path == "/" {
    		return notFoundHandler
    	}
    
    	if isListingRequest {
    		handler := h.listMetrics(path)
    		if handler == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. cmd/tier-handlers.go

    	}
    	// error returned when remote tier is not found
    	errTierNotFound = AdminError{
    		Code:       "XMinioAdminTierNotFound",
    		Message:    "Specified remote tier was not found",
    		StatusCode: http.StatusNotFound,
    	}
    	// error returned when remote tier name is not in uppercase
    	errTierNameNotUppercase = AdminError{
    		Code:       "XMinioAdminTierNameNotUpperCase",
    		Message:    "Tier name must be in uppercase",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top