Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for ErrorResponse (0.22 sec)

  1. cmd/bucket-lifecycle-handlers_test.go

    		}
    		if errorResponse.Message != testCase.errorResponse.Message {
    			t.Errorf("Test %d: %s: Expected the error message to be `%s`, but instead found `%s`", i+1, instanceType, testCase.errorResponse.Message, errorResponse.Message)
    		}
    		if errorResponse.Code != testCase.errorResponse.Code {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. cmd/bucket-handlers_test.go

    		}
    		if errorResponse.Message != testCase.errorResponse.Message {
    			t.Errorf("Test %d: %s: Expected the error message to be `%s`, but instead found `%s`", i+1, instanceType, testCase.errorResponse.Message, errorResponse.Message)
    		}
    		if errorResponse.Code != testCase.errorResponse.Code {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  3. cmd/api-response.go

    		err.HTTPStatusCode = http.StatusInternalServerError
    	}
    
    	// Generate error response.
    	errorResponse := getAPIErrorResponse(ctx, err, reqURL.Path,
    		w.Header().Get(xhttp.AmzRequestID), w.Header().Get(xhttp.AmzRequestHostID))
    	encodedErrorResponse := encodeResponse(errorResponse)
    	writeResponse(w, err.HTTPStatusCode, encodedErrorResponse, mimeXML)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                return minioClient.statObject(args);
            } catch (final ErrorResponseException e) {
                final String code = e.errorResponse().code();
                switch (code) {
                case "NoSuchBucket":
                    throw new CrawlingAccessException("Bucket " + bucketName + " is not found.", e);
                case "NoSuchKey", "NoSuchObject":
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. cmd/sts-errors.go

    	Code           string
    	Description    string
    	HTTPStatusCode int
    }
    
    // STSErrorResponse - error response format
    type STSErrorResponse struct {
    	XMLName xml.Name `xml:"https://sts.amazonaws.com/doc/2011-06-15/ ErrorResponse" json:"-"`
    	Error   struct {
    		Type    string `xml:"Type"`
    		Code    string `xml:"Code"`
    		Message string `xml:"Message"`
    	} `xml:"Error"`
    	RequestID string `xml:"RequestId"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. cmd/perf-tests.go

    				t := time.Now()
    
    				r, _, _, err := c.GetObject(downloadsCtx, opts.bucketName, tmpObjName, gopts)
    				if err != nil {
    					errResp, ok := err.(minio.ErrorResponse)
    					if ok && errResp.StatusCode == http.StatusNotFound {
    						continue
    					}
    					if !contextCanceled(downloadsCtx) && !errors.Is(err, context.Canceled) {
    						errOnce.Do(func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                        break;
                    }
                }
            } catch (final ErrorResponseException e) {
                final String code = e.errorResponse().code();
                if ("NoSuchBucket".equals(code)) {
                    final MinioClient minioClient = createClient(fessConfig);
                    try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MultimapBuilder.java

     * behaviors (for example, ordering) of the backing map and value-collections. Example:
     *
     * <pre>{@code
     * ListMultimap<UserId, ErrorResponse> errorsByUser =
     *     MultimapBuilder.linkedHashKeys().arrayListValues().build();
     * SortedSetMultimap<String, Method> methodsForName =
     *     MultimapBuilder.treeKeys().treeSetValues(this::compareMethods).build();
     * }</pre>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    				DeploymentID: globalDeploymentID(),
    			},
    		},
    	}
    
    	errResp := func(err error) {
    		errorResponse := getAPIErrorResponse(ctx, toAdminAPIErr(ctx, err), r.URL.String(),
    			w.Header().Get(xhttp.AmzRequestID), w.Header().Get(xhttp.AmzRequestHostID))
    		encodedErrorResponse := encodeResponse(errorResponse)
    		healthInfo.Error = string(encodedErrorResponse)
    		adminLogIf(ctx, enc.Encode(healthInfo))
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  10. cmd/server_test.go

    	c.Helper()
    	data, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	errorResponse := APIErrorResponse{}
    	err = xml.Unmarshal(data, &errorResponse)
    	c.Assert(err, nil)
    	c.Assert(errorResponse.Code, code)
    	c.Assert(errorResponse.Message, description)
    	c.Assert(response.StatusCode, statusCode)
    }
    
    func runAllTests(suite *TestSuiteCommon, c *check) {
    	suite.SetUpSuite(c)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top