Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,514 for perror (0.23 sec)

  1. docs/ja/docs/tutorial/handling-errors.md

    }
    ```
    
    以下のようなテキスト版を取得します:
    
    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    ```
    
    #### `RequestValidationError`と`ValidationError`
    
    !!! warning "注意"
        これらは今のあなたにとって重要でない場合は省略しても良い技術的な詳細です。
    
    `RequestValidationError`はPydanticの<a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>のサブクラスです。
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. src/net/dial.go

    				// we just got an error on the primary path, so start
    				// the fallback immediately (in 0 nanoseconds).
    				fallbackTimer.Reset(0)
    			}
    		}
    	}
    }
    
    // dialSerial connects to a list of addresses in sequence, returning
    // either the first successful connection, or the first error.
    func (sd *sysDialer) dialSerial(ctx context.Context, ras addrList) (Conn, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  3. pkg/log/scope_test.go

    	}{
    		{
    			func() { klog.Error("foo") },
    			"error\tklog\tfoo$",
    		},
    		{
    			func() { klog.Error("foo") },
    			"foo$",
    		},
    		{
    			func() { klog.Errorf("fmt %v", "item") },
    			"fmt item$",
    		},
    		{
    			func() { klog.Errorf("fmt %v", "item") },
    			"fmt item$",
    		},
    		{
    			func() { klog.ErrorS(errors.New("my error"), "info") },
    			"error\tklog\tmy error: info",
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 17:36:09 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/runtime/syscall_windows_test.go

    		if b == 0 {
    			t.Error("USER32.IsWindow returns FALSE")
    		}
    		counter++
    		return 1 // continue enumeration
    	})
    	a, _, _ := d.Proc("EnumWindows").Call(cb, 888)
    	if a == 0 {
    		t.Error("USER32.EnumWindows returns FALSE")
    	}
    	if counter == 0 {
    		t.Error("Callback has been never called or your have no windows")
    	}
    }
    
    func callback(timeFormatString unsafe.Pointer, lparam uintptr) uintptr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  5. src/net/unixsock_test.go

    	if _, err := c.(*UnixConn).WriteToUnix(b, raddr); err == nil {
    		t.Fatal("should fail")
    	} else if err.(*OpError).Err != ErrWriteToConnected {
    		t.Fatalf("should fail as ErrWriteToConnected: %v", err)
    	}
    	if _, err = c.(*UnixConn).WriteTo(b, raddr); err == nil {
    		t.Fatal("should fail")
    	} else if err.(*OpError).Err != ErrWriteToConnected {
    		t.Fatalf("should fail as ErrWriteToConnected: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go

    // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/mips64/include /tmp/mips64/include/asm/unistd.h
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build mips64 && linux
    
    package unix
    
    const (
    	SYS_READ                    = 5000
    	SYS_WRITE                   = 5001
    	SYS_OPEN                    = 5002
    	SYS_CLOSE                   = 5003
    	SYS_STAT                    = 5004
    	SYS_FSTAT                   = 5005
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_server_journal.go

    	if err != nil {
    		// If the last error was file not found it implies that no log file was found for the service
    		if errors.Is(err, os.ErrNotExist) {
    			fmt.Fprintf(w, "\nlog not found for %s\n", service)
    			return
    		}
    		fmt.Fprintf(w, "\nerror getting log for %s: %v\n", service, err)
    	}
    }
    
    // readerCtx is the interface that wraps io.Reader with a context
    type readerCtx struct {
    	ctx context.Context
    	io.Reader
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 26 18:56:28 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go

    // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/mips/include /tmp/mips/include/asm/unistd.h
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build mips && linux
    
    package unix
    
    const (
    	SYS_SYSCALL                      = 4000
    	SYS_EXIT                         = 4001
    	SYS_FORK                         = 4002
    	SYS_READ                         = 4003
    	SYS_WRITE                        = 4004
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go

    // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/ppc64le/include /tmp/ppc64le/include/asm/unistd.h
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build ppc64le && linux
    
    package unix
    
    const (
    	SYS_RESTART_SYSCALL         = 0
    	SYS_EXIT                    = 1
    	SYS_FORK                    = 2
    	SYS_READ                    = 3
    	SYS_WRITE                   = 4
    	SYS_OPEN                    = 5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. src/net/unixsock.go

    	if err != nil {
    		err = &OpError{Op: "read", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
    	}
    	return n, addr, err
    }
    
    // ReadFrom implements the [PacketConn] ReadFrom method.
    func (c *UnixConn) ReadFrom(b []byte) (int, Addr, error) {
    	if !c.ok() {
    		return 0, nil, syscall.EINVAL
    	}
    	n, addr, err := c.readFrom(b)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top