Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,434 for Errors (0.11 sec)

  1. tests/scanner_valuer_test.go

    	if err := DB.Create(&data).Error; err != nil {
    		t.Errorf("Should got no error when creating data, but got %v", err)
    	}
    
    	if err := DB.Model(&data).Update("password", EncryptedData("xnewpass")).Error; err == nil {
    		t.Errorf("Should failed to update data with invalid data")
    	}
    
    	if err := DB.Model(&data).Update("password", EncryptedData("newpass")).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. istioctl/cmd/sysexits_test.go

    package cmd
    
    import (
    	"errors"
    	"testing"
    
    	"istio.io/istio/istioctl/pkg/analyze"
    	"istio.io/istio/istioctl/pkg/util"
    )
    
    var KnownErrorCode = map[error]int{
    	errors.New("unknown command"):                                  ExitIncorrectUsage,
    	errors.New("unexpected error"):                                 ExitUnknownError,
    	util.CommandParseError{Err: errors.New("command parse error")}: ExitIncorrectUsage,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. cni/pkg/ipset/nldeps_unspecified.go

    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) flush(name string) error {
    	return errors.New("not implemented on this platform")
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. cmd/bucket-metadata-sys.go

    			bucketTargetsFile: bucketTargetsFile,
    		})
    		if err != nil {
    			return updatedAt, fmt.Errorf("Error encrypting bucket target metadata %w", err)
    		}
    		meta.BucketTargetsConfigUpdatedAt = updatedAt
    		meta.BucketTargetsConfigMetaUpdatedAt = updatedAt
    	default:
    		return updatedAt, fmt.Errorf("Unknown bucket %s metadata update requested %s", bucket, configFile)
    	}
    
    	return updatedAt, sys.save(ctx, meta)
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/arm64.go

    			if a.Type == obj.TYPE_MEM {
    				return errors.New("invalid shift for the register offset addressing mode")
    			}
    			a.Reg = arm64.REG_UXTX + Rnum
    		case "SXTB":
    			if a.Type == obj.TYPE_MEM {
    				return errors.New("invalid shift for the register offset addressing mode")
    			}
    			a.Reg = arm64.REG_SXTB + Rnum
    		case "SXTH":
    			if a.Type == obj.TYPE_MEM {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Sep 29 09:04:58 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  6. fastapi/exceptions.py

        """
        A generic, FastAPI-specific error.
        """
    
    
    class ValidationException(Exception):
        def __init__(self, errors: Sequence[Any]) -> None:
            self._errors = errors
    
        def errors(self) -> Sequence[Any]:
            return self._errors
    
    
    class RequestValidationError(ValidationException):
        def __init__(self, errors: Sequence[Any], *, body: Any = None) -> None:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. docs/debugging/inspect/decrypt-v2.go

    					return nil
    				}
    				return errors.New("no data found on stream")
    			}
    			if errors.Is(err, estream.ErrNoKey) {
    				if stream.Name == "inspect.zip" {
    					return errors.New("incorrect private key")
    				}
    				if err := stream.Skip(); err != nil {
    					return fmt.Errorf("stream skip: %w", err)
    				}
    				continue
    			}
    			if extracted {
    				return keepFileErr{fmt.Errorf("next stream: %w", err)}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. cni/pkg/util/pluginutil.go

    )
    
    type Watcher struct {
    	watcher *fsnotify.Watcher
    	Events  chan struct{}
    	Errors  chan error
    }
    
    // Waits until a file is modified (returns nil), the context is cancelled (returns context error), or returns error
    func (w *Watcher) Wait(ctx context.Context) error {
    	select {
    	case <-w.Events:
    		return nil
    	case err := <-w.Errors:
    		return err
    	case <-ctx.Done():
    		return ctx.Err()
    	}
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        /** The key of the message: &lt;ul class="has-error"&gt; */
        public static final String ERRORS_HEADER = "{errors.header}";
    
        /** The key of the message: &lt;/ul&gt; */
        public static final String ERRORS_FOOTER = "{errors.footer}";
    
        /** The key of the message: &lt;li&gt;&lt;i class="fa fa-exclamation-circle"&gt;&lt;/i&gt; */
        public static final String ERRORS_PREFIX = "{errors.prefix}";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  10. internal/kms/kes.go

    // list of KES endpoints and the default key ID.
    func (c *kesConn) Status(ctx context.Context) (map[string]madmin.ItemState, error) {
    	if len(c.client.Endpoints) == 1 {
    		if _, err := c.client.Status(ctx); err != nil {
    			if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
    				return nil, err
    			}
    			if errors.Is(err, kes.ErrNotAllowed) {
    				return nil, ErrPermission
    			}
    
    			return map[string]madmin.ItemState{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top