Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for newError (0.2 sec)

  1. internal/config/dns/operator_dns.go

    	if err != nil {
    		return newError(bucket, err)
    	}
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, e, nil)
    	if err != nil {
    		return newError(bucket, err)
    	}
    	if err = c.addAuthHeader(req); err != nil {
    		return newError(bucket, err)
    	}
    
    	resp, err := c.httpClient.Do(req)
    	if err != nil {
    		if derr := c.Delete(bucket); derr != nil {
    			return newError(bucket, derr)
    		}
    		return err
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  2. src/cmd/api/testdata/src/pkg/p2/golden.txt

    pkg p2, func F() string
    pkg p2, func F //deprecated
    pkg p2, func G() Twoer
    pkg p2, func NewError(string) error
    pkg p2, type Twoer interface { PackageTwoMeth }
    pkg p2, type Twoer interface, PackageTwoMeth()
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 265 bytes
    - Viewed (0)
  3. src/cmd/api/testdata/src/pkg/p2/p2.go

    package p2
    
    type Twoer interface {
    	// Deprecated: No good.
    	PackageTwoMeth()
    }
    
    // Deprecated: No good.
    func F() string {}
    
    func G() Twoer {}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 337 bytes
    - Viewed (0)
  4. src/cmd/api/testdata/src/pkg/p1/p1.go

    	VError = BarE()
    	V1     = Bar1(1, 2, 3)
    	V2     = ptwo.G()
    )
    
    // Variables with conversions:
    var (
    	StrConv  = string("foo")
    	ByteConv = []byte("foo")
    )
    
    var ChecksumError = ptwo.NewError("gzip checksum error")
    
    const B0 = 2
    const StrConst = "foo"
    const FloatConst = 1.5
    
    type myInt int
    
    type MyInt int
    
    type Time struct{}
    
    type S struct {
    	// Deprecated: use PublicTime.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

            Mirror mirrorA2 = newMirror("a2", "a,b", "http://a2");
            Mirror mirrorA = newMirror("a", "a", "http://a");
            // make sure repeated entries are skipped
            Mirror mirrorA3 = newMirror("a", "a", "http://a3");
    
            Mirror mirrorB = newMirror("b", "b", "http://b");
            Mirror mirrorC = newMirror("c", "d,e", "http://de");
            Mirror mirrorC2 = newMirror("c", "*", "http://wildcard");
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  6. internal/logger/target/console/console.go

    	}
    
    	if len(entry.Trace.Variables) > 0 {
    		tagString = "\n       " + tagString
    	}
    
    	msg := color.RedBold(entry.Trace.Message)
    	output := fmt.Sprintf("\n%s\n%s%s%s%s%s%s\nError: %s%s\n%s",
    		apiString, timeString, deploymentID, requestID, remoteHost, host, userAgent,
    		msg, tagString, strings.Join(trace, "\n"))
    
    	console.Println(output)
    	return nil
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top