Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for errstr (0.12 sec)

  1. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    }
    
    type ErrorList []Error
    
    func (e ErrorList) Error() string {
    	errStrs := make([]string, len(e))
    	for i, err := range e {
    		errStrs[i] = err.Error()
    	}
    	return strings.Join(errStrs, "\n")
    }
    
    type Error struct {
    	Filename string
    	Pos      Position
    	Verb     string
    	ModPath  string
    	Err      error
    }
    
    func (e *Error) Error() string {
    	var pos string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/load.go

    	ld.pkgs = nil
    }
    
    // error reports an error via either os.Stderr or base.Error,
    // according to whether ld.AllowErrors is set.
    func (ld *loader) error(err error) {
    	if ld.AllowErrors {
    		fmt.Fprintf(os.Stderr, "go: %v\n", err)
    	} else if ld.Switcher != nil {
    		ld.Switcher.Error(err)
    	} else {
    		base.Error(err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  3. src/crypto/x509/verify.go

    type UnknownAuthorityError struct {
    	Cert *Certificate
    	// hintErr contains an error that may be helpful in determining why an
    	// authority wasn't found.
    	hintErr error
    	// hintCert contains a possible authority certificate that was rejected
    	// because of the error in hintErr.
    	hintCert *Certificate
    }
    
    func (e UnknownAuthorityError) Error() string {
    	s := "x509: certificate signed by unknown authority"
    	if e.hintErr != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. cmd/iam.go

    func (sys *IAMSys) GetRolePolicy(arnStr string) (arn.ARN, string, error) {
    	roleArn, err := arn.Parse(arnStr)
    	if err != nil {
    		return arn.ARN{}, "", fmt.Errorf("RoleARN parse err: %v", err)
    	}
    	rolePolicy, ok := sys.rolesMap[roleArn]
    	if !ok {
    		return arn.ARN{}, "", fmt.Errorf("RoleARN %s is not defined.", arnStr)
    	}
    	return roleArn, rolePolicy, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  5. src/syscall/zerrors_solaris_amd64.go

    	64:  "machine is not on the network",
    	65:  "package not installed",
    	66:  "object is remote",
    	67:  "link has been severed",
    	68:  "advertise error",
    	69:  "srmount error",
    	70:  "communication error on send",
    	71:  "protocol error",
    	72:  "locked lock was unmapped ",
    	73:  "facility is not active",
    	74:  "multihop attempted",
    	77:  "not a data message",
    	78:  "file name too long",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  6. src/reflect/all_test.go

    		defer func() {
    			e := recover()
    			if str, ok := e.(string); ok {
    				errorStr = str
    			}
    		}()
    		f()
    		return
    	}
    	e := getError(func() {
    		var ptr *int
    		ValueOf(ptr).Len()
    	})
    	wantStr := "reflect: call of reflect.Value.Len on ptr to non-array Value"
    	if e != wantStr {
    		t.Errorf("error is %q, want %q", e, wantStr)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	r0, _, e1 := syscall.Syscall15(procCreateServiceW.Addr(), 13, uintptr(mgr), uintptr(unsafe.Pointer(serviceName)), uintptr(unsafe.Pointer(displayName)), uintptr(access), uintptr(srvType), uintptr(startType), uintptr(errCtl), uintptr(unsafe.Pointer(pathName)), uintptr(unsafe....
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
Back to top