Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 2,774 for error_ (0.32 seconds)

  1. cmd/bucket-policy-handlers_test.go

    			if err != nil {
    				t.Fatalf("unexpected error. %v", err)
    			}
    			var gotPolicy *policy.BucketPolicy
    			gotPolicy, err = policy.ParseBucketPolicyConfig(bytes.NewReader(bucketPolicyReadBuf), testCase.bucketName)
    			if err != nil {
    				t.Fatalf("unexpected error. %v", err)
    			}
    
    			if !reflect.DeepEqual(expectedPolicy, gotPolicy) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java

                }, validationErrorLambda);
            });
        }
    
        /**
         * Adds a password validation error message to the messages object based on the error key.
         *
         * @param messages the FessMessages object to add the error to
         * @param errorKey the error key identifying the type of password validation error
         */
        protected void addPasswordValidationError(final FessMessages messages, final String errorKey) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:18:24 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  3. internal/config/identity/openid/jwt_test.go

    		}
    		d, err := GetDefaultExpiration(u.Query().Get("DurationSeconds"))
    		gotErr := (err != nil)
    		if testCase.expectErr != gotErr {
    			t.Errorf("Test %d: Expected %v, got %v with error %s", i+1, testCase.expectErr, gotErr, err)
    		}
    		if d != testCase.duration {
    			t.Errorf("Test %d: Expected duration %d, got %d", i+1, testCase.duration, d)
    		}
    	}
    }
    
    func TestExpCorrect(t *testing.T) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  4. internal/bucket/lifecycle/tag.go

    }
    
    var (
    	errInvalidTagKey   = Errorf("The TagKey you have provided is invalid")
    	errInvalidTagValue = Errorf("The TagValue you have provided is invalid")
    
    	errDuplicatedXMLTag = Errorf("duplicated XML Tag")
    	errUnknownXMLTag    = Errorf("unknown XML Tag")
    )
    
    // UnmarshalXML - decodes XML data.
    func (tag *Tag) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	var keyAlreadyParsed, valueAlreadyParsed bool
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 2.4K bytes
    - Click Count (0)
  5. cmd/jwt.go

    )
    
    var (
    	errInvalidAccessKeyID = errors.New("The access key ID you provided does not exist in our records")
    	errAccessKeyDisabled  = errors.New("The access key you provided is disabled")
    	errAuthentication     = errors.New("Authentication failed, check your access credentials")
    	errNoAuthToken        = errors.New("JWT token missing")
    	errSkewedAuthTime     = errors.New("Skewed authentication date/time")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. cmd/storage-datatypes_gen_test.go

    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgBaseOptions(b *testing.B) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 73.9K bytes
    - Click Count (0)
  7. internal/s3select/sql/stringfuncs.go

    package sql
    
    import (
    	"errors"
    	"strings"
    )
    
    var (
    	errMalformedEscapeSequence  = errors.New("Malformed escape sequence in LIKE clause")
    	errInvalidTrimArg           = errors.New("Trim argument is invalid - this should not happen")
    	errInvalidSubstringIndexLen = errors.New("Substring start index or length falls outside the string")
    )
    
    const (
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. cmd/warm-backend-s3.go

    		return nil, errors.New("both the access and secret keys are required")
    	case conf.AWSRole && (conf.AWSRoleWebIdentityTokenFile != "" || conf.AWSRoleARN != "" || conf.AccessKey != "" || conf.SecretKey != ""):
    		return nil, errors.New("AWS Role cannot be activated with static credentials or the web identity token file")
    	case conf.Bucket == "":
    		return nil, errors.New("no bucket name was provided")
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jun 08 16:13:30 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. cmd/signature-v2_test.go

    	}{
    		// (0) Should error without a set URL query.
    		{
    			expected: ErrInvalidQueryParams,
    		},
    		// (1) Should error on an invalid access key.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": "Z7IXGOO6BZ0REAN1Q26I",
    			},
    			expected: ErrInvalidAccessKeyID,
    		},
    		// (2) Should error with malformed expires.
    		{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  10. cmd/admin-handlers-idp-config.go

    	var cfgInfos []madmin.IDPCfgInfo
    	var err error
    	switch idpCfgType {
    	case madmin.OpenidIDPCfg:
    		cfgInfos, err = globalIAMSys.OpenIDConfig.GetConfigInfo(cfg, cfgName)
    	case madmin.LDAPIDPCfg:
    		cfgInfos, err = globalIAMSys.LDAPConfig.GetConfigInfo(cfg, cfgName)
    	}
    	if err != nil {
    		if errors.Is(err, openid.ErrProviderConfigNotFound) || errors.Is(err, cfgldap.ErrProviderConfigNotFound) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 12.7K bytes
    - Click Count (0)
Back to Top