Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 168 for errorCh (0.16 sec)

  1. src/go/doc/testdata/error1.go

    package error1
    
    type I0 interface {
    	// When embedded, the predeclared error interface
    	// must remain visible in interface types.
    	error
    }
    
    type T0 struct {
    	ExportedField interface {
    		// error should be visible
    		error
    	}
    }
    
    type S0 struct {
    	// In struct types, an embedded error must only be visible
    	// if AllDecls is set.
    	error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 498 bytes
    - Viewed (0)
  2. src/go/doc/testdata/error2.2.golden

    // 
    PACKAGE error2
    
    IMPORTPATH
    	testdata/error2
    
    FILENAMES
    	testdata/error2.go
    
    TYPES
    	// 
    	type I0 interface {
    		// contains filtered or unexported methods
    	}
    
    	// 
    	type S0 struct {
    		// contains filtered or unexported fields
    	}
    
    	// 
    	type T0 struct {
    		ExportedField interface {
    			// contains filtered or unexported methods
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 337 bytes
    - Viewed (0)
  3. src/go/doc/testdata/error1.1.golden

    // 
    PACKAGE error1
    
    IMPORTPATH
    	testdata/error1
    
    FILENAMES
    	testdata/error1.go
    
    TYPES
    	// 
    	type I0 interface {
    		// When embedded, the predeclared error interface
    		// must remain visible in interface types.
    		error
    	}
    
    	// 
    	type S0 struct {
    		// In struct types, an embedded error must only be visible
    		// if AllDecls is set.
    		error
    	}
    
    	// 
    	type T0 struct {
    		ExportedField interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 440 bytes
    - Viewed (0)
  4. src/go/doc/testdata/error2.1.golden

    // 
    PACKAGE error2
    
    IMPORTPATH
    	testdata/error2
    
    FILENAMES
    	testdata/error2.go
    
    TYPES
    	// 
    	type I0 interface {
    		// When embedded, the locally-declared error interface
    		// is only visible if all declarations are shown.
    		error
    	}
    
    	// 
    	type S0 struct {
    		// In struct types, an embedded error must only be visible
    		// if AllDecls is set.
    		error
    	}
    
    	// 
    	type T0 struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 565 bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/HtmlDependencyVerificationReportRendererTest.groovy

                renderer.reportFailure(onlyIgnoredKeys("Ivy"))
            }
    
            when:
            generateReport()
    
            def errors1 = errorsFor(":someConfiguration")
            def errors2 = errorsFor(":other:configuration")
    
            then:
            verifyAll(errors1[0]) {
                module == 'org:foo:1.0'
                artifact == 'foo-1.0.jar'
                artifactTooltip == "From repository 'Maven'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  6. src/errors/example_test.go

    		}
    	}
    
    	// Output:
    	// Failed at path: non-existing
    }
    
    func ExampleUnwrap() {
    	err1 := errors.New("error1")
    	err2 := fmt.Errorf("error2: [%w]", err1)
    	fmt.Println(err2)
    	fmt.Println(errors.Unwrap(err2))
    	// Output:
    	// error2: [error1]
    	// error1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 02:08:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. src/errors/errors.go

    // Unwrap method to return an []error containing a nil error value.
    //
    // An easy way to create wrapped errors is to call [fmt.Errorf] and apply
    // the %w verb to the error argument:
    //
    //	wrapsErr := fmt.Errorf("... %w ...", ..., err, ...)
    //
    // Successive unwrapping of an error creates a tree. The [Is] and [As]
    // functions inspect an error's tree by examining first the error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 19:45:41 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. internal/config/errors-utils.go

    	if errors.Is(err, syscall.EADDRINUSE) {
    		return ErrPortAlreadyInUse(err).Msg("Specified port is already in use")
    	} else if errors.Is(err, syscall.EACCES) || errors.Is(err, syscall.EPERM) {
    		if netErr, ok := err.(*net.OpError); ok {
    			return ErrPortAccess(netErr).Msg("Insufficient permissions to use specified port")
    		}
    	}
    
    	// Failed to identify what type of error this, return a simple UI error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. pkg/kubelet/container/sync_result_test.go

    	}
    
    	// If the PodSyncResult is failed, it should be error
    	result = PodSyncResult{}
    	result.AddSyncResult(okResults...)
    	result.Fail(errors.New("error"))
    	if result.Error() == nil {
    		t.Errorf("PodSyncResult should be error: %v", result)
    	}
    
    	// If the PodSyncResult is added an error PodSyncResult, it should be error
    	errResult := PodSyncResult{}
    	errResult.AddSyncResult(errResults...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 16:48:17 UTC 2019
    - 2K bytes
    - Viewed (0)
  10. src/syscall/asm_freebsd_arm.s

    	MOVW a4+16(FP), R3 // a4
    	MOVW R13, R4
    	MOVW $a5+20(FP), R13 // a5 to a6 are passed on stack
    	SWI $0 // syscall
    	MOVW R4, R13
    	MOVW $0, R2
    	BCS errorr6
    	MOVW R0, r1+28(FP) // r1
    	MOVW R1, r2+32(FP) // r2
    	MOVW R2, err+36(FP) // errno
    	RET
    errorr6:
    	MOVW $-1, R3
    	MOVW R3, r1+28(FP) // r1
    	MOVW R2, r2+32(FP) // r2
    	MOVW R0, err+36(FP) // errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 23 16:52:33 UTC 2015
    - 3K bytes
    - Viewed (0)
Back to top