Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for ErrorResponse (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/admin-handlers-users_test.go

    	c.Helper()
    	_, err := client.PutObject(ctx, bucket, "some-object", bytes.NewBuffer([]byte("stuff")), 5, minio.PutObjectOptions{})
    	if e, ok := err.(minio.ErrorResponse); ok {
    		if e.Code == "AccessDenied" {
    			return
    		}
    	}
    	c.Fatalf("upload did not get an AccessDenied error - got %#v instead", err)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
  2. cmd/api-errors.go

    			}
    		case crypto.Error:
    			apiErr = APIError{
    				Code:           "XMinioEncryptionError",
    				Description:    e.Error(),
    				HTTPStatusCode: http.StatusBadRequest,
    			}
    		case minio.ErrorResponse:
    			apiErr = APIError{
    				Code:           e.Code,
    				Description:    e.Message,
    				HTTPStatusCode: e.StatusCode,
    			}
    			if strings.Contains(e.Message, "KMS is not configured") {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
Back to Top