Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,612 for perror (0.1 sec)

  1. src/runtime/error.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/bytealg"
    )
    
    // The Error interface identifies a run time error.
    type Error interface {
    	error
    
    	// RuntimeError is a no-op function but
    	// serves to distinguish types that are run time
    	// errors from ordinary errors: a type is a
    	// run time error if it has a RuntimeError method.
    	RuntimeError()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. internal/s3select/unused-errors.go

    func errBusy(err error) *s3Error {
    	return &s3Error{
    		code:       "Busy",
    		message:    "The service is unavailable. Please retry.",
    		statusCode: 503,
    		cause:      err,
    	}
    }
    
    func errUnauthorizedAccess(err error) *s3Error {
    	return &s3Error{
    		code:       "UnauthorizedAccess",
    		message:    "You are not authorized to perform this operation",
    		statusCode: 401,
    		cause:      err,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/handling-errors.md

    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
                    "item_id"
                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    eine Textversion:
    
    ```
    1 validation error
    path -> item_id
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:28:29 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/handling-errors.md

    **FastAPI** faz uso dele para que você veja o erro no seu log, caso você utilize um modelo de Pydantic em `response_model`, e seus dados tenham erro.
    
    Contudo, o cliente ou usuário não terão acesso a ele. Ao contrário, o cliente receberá um "Internal Server Error" com o HTTP status code `500`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/handling-errors.md

    **FastAPI** использует его для того, чтобы, если вы используете Pydantic-модель в `response_model`, и ваши данные содержат ошибку, вы увидели ошибку в журнале.
    
    Но клиент/пользователь этого не увидит. Вместо этого клиент получит сообщение "Internal Server Error" с кодом состояния HTTP `500`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. cmd/object-api-errors.go

    	return "Object name invalid: " + e.Bucket + "/" + e.Object
    }
    
    // Error returns string an error formatted as the given text.
    func (e ObjectNameTooLong) Error() string {
    	return "Object name too long: " + e.Bucket + "/" + e.Object
    }
    
    // Error returns string an error formatted as the given text.
    func (e ObjectNamePrefixAsSlash) Error() string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 22:19:00 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  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