Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 674 for gzerror (0.33 sec)

  1. internal/crypto/error.go

    	e := fmt.Errorf(format, a...)
    	ee := Error{}
    	ee.msg = e.Error()
    	ee.cause = errors.Unwrap(e)
    	return ee
    }
    
    // Unwrap the internal error.
    func (e Error) Unwrap() error { return e.cause }
    
    // Error 'error' compatible method.
    func (e Error) Error() string {
    	if e.msg == "" {
    		return "crypto: cause <nil>"
    	}
    	return e.msg
    }
    
    var (
    	// ErrInvalidEncryptionMethod indicates that the specified SSE encryption method
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. cmd/admin-handler-utils.go

    	}
    	return toAPIError(ctx, fmt.Errorf("error exporting %s from %s with: %w", entity, fname, err))
    }
    
    // wraps import error for more context
    func importError(ctx context.Context, err error, fname, entity string) APIError {
    	if entity == "" {
    		return toAPIError(ctx, fmt.Errorf("error importing %s with: %w", fname, err))
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. cmd/object-multipart-handlers.go

    		}
    	case authTypeSignedV2, authTypePresignedV2:
    		if s3Error = isReqAuthenticatedV2(r); s3Error != ErrNone {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    			return
    		}
    	case authTypePresigned, authTypeSigned:
    		if s3Error = reqSignatureV4Verify(r, globalSite.Region, serviceS3); s3Error != ErrNone {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    			return
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  4. cmd/bucket-policy-handlers.go

    		return
    	}
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketPolicyAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Check if bucket exists.
    	if _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    			s3Error = checkRequestAuthType(ctx, r, policy.GetObjectAction, bucket, object)
    		}
    	}
    
    	if s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	objInfo, err := objectAPI.GetObjectInfo(ctx, bucket, object, opts)
    	if err != nil {
    		s3Error = checkRequestAuthType(ctx, r, policy.ListBucketAction, bucket, object)
    		if s3Error == ErrNone {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  6. cmd/listen-notification-handlers.go

    	bucketName := vars["bucket"]
    
    	if bucketName == "" {
    		if s3Error := checkRequestAuthType(ctx, r, policy.ListenNotificationAction, bucketName, ""); s3Error != ErrNone {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    			return
    		}
    	} else {
    		if s3Error := checkRequestAuthType(ctx, r, policy.ListenBucketNotificationAction, bucketName, ""); s3Error != ErrNone {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        }
      }
    
      public void testTransformAsync_asyncFunction_error() throws InterruptedException {
        final Error error = new Error("deliberate");
        AsyncFunction<String, Integer> function =
            new AsyncFunction<String, Integer>() {
              @Override
              public ListenableFuture<Integer> apply(String input) {
                throw error;
              }
            };
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. docs/bucket/replication/sio-error.sh

    Aditya Manthramurthy <******@****.***> 1709575556 -0800
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. istioctl/pkg/internaldebug/internal-debug_test.go

    	cases := []execTestCase{
    		{ // case 0, no args
    			args:           []string{},
    			noIstiod:       true,
    			expectedOutput: "Error: debug type is required\n",
    			wantException:  true,
    		},
    		{ // case 1, no istiod
    			args:           []string{"adsz"},
    			noIstiod:       true,
    			expectedOutput: "Error: no running Istio pods in \"istio-system\"\n",
    			wantException:  true,
    		},
    		{ // case 2, with Istiod instance
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt

              override fun onAnswer(
                addresses: List<InetAddress>,
                rCode: Int,
              ) {
                callback.onResponse(hostname, addresses)
              }
    
              override fun onError(e: DnsResolver.DnsException) {
                callback.onFailure(
                  hostname,
                  UnknownHostException(e.message).apply {
                    initCause(e)
                  },
                )
              }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 10:07:48 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top