Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ErrAccessDenied (0.1 sec)

  1. cmd/admin-handler-utils.go

    		switch adminAPIErr {
    		case ErrNone:
    			return objectAPI, cred
    		case ErrAccessDenied:
    			// Try another
    			continue
    		default:
    			writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(adminAPIErr), r.URL)
    			return nil, cred
    		}
    	}
    	writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAccessDenied), r.URL)
    	return nil, auth.Credentials{}
    }
    
    // AdminError - is a generic error for all admin APIs.
    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. cmd/api-errors_test.go

    	// SSE-C errors
    	{err: crypto.ErrInvalidCustomerAlgorithm, errCode: ErrInvalidSSECustomerAlgorithm},
    	{err: crypto.ErrMissingCustomerKey, errCode: ErrMissingSSECustomerKey},
    	{err: crypto.ErrInvalidCustomerKey, errCode: ErrAccessDenied},
    	{err: crypto.ErrMissingCustomerKeyMD5, errCode: ErrMissingSSECustomerKeyMD5},
    	{err: crypto.ErrCustomerKeyMD5Mismatch, errCode: ErrSSECustomerKeyMD5Mismatch},
    	{err: errObjectTampered, errCode: ErrObjectTampered},
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 15:13:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top