Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for error_handler_ (0.36 sec)

  1. src/net/http/httputil/reverseproxy_test.go

    		wantCode       int
    		errorHandler   func(http.ResponseWriter, *http.Request, error)
    		transport      http.RoundTripper // defaults to failingRoundTripper
    		modifyResponse func(*http.Response) error
    	}{
    		{
    			name:     "default",
    			wantCode: http.StatusBadGateway,
    		},
    		{
    			name:         "errorhandler",
    			wantCode:     http.StatusTeapot,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/parser.go

    package syntax
    
    import (
    	"fmt"
    	"go/build/constraint"
    	"io"
    	"strconv"
    	"strings"
    )
    
    const debug = false
    const trace = false
    
    type parser struct {
    	file  *PosBase
    	errh  ErrorHandler
    	mode  Mode
    	pragh PragmaHandler
    	scanner
    
    	base      *PosBase // current position base
    	first     error    // first error encountered
    	errcnt    int      // number of errors encountered
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.31.md

    - K8s.io/apimachinery/pkg/util/runtime: new calls support handling panics and errors in the context where they occur. `PanicHandlers` and `ErrorHandlers` now must accept a context parameter for that. Log output is structured instead of unstructured. ([#121970](https://github.com/kubernetes/kubernetes/pull/121970), [@pohly](https://github.com/pohly)) [SIG API Machinery and Instrumentation]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
Back to top