Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for internalError (0.18 sec)

  1. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    如果可以,请尽量使用 `Annotated` 版本。
    
    ///
    
    ```Python hl_lines="15"
    {!> ../../docs_src/dependencies/tutorial008d.py!}
    ```
    
    ////
    
    现在客户端同样会得到 *HTTP 500 Internal Server Error* 响应,但是服务器日志会记录下我们自定义的 `InternalError`。
    
    ##  使用 `yield` 的依赖项的执行
    
    执行顺序大致如下时序图所示。时间轴从上到下,每一列都代表交互或者代码执行的一部分。
    
    ```mermaid
    sequenceDiagram
    
    participant client as Client
    participant handler as Exception handler
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ///
    
    ```Python hl_lines="15"
    {!> ../../docs_src/dependencies/tutorial008d.py!}
    ```
    
    ////
    
    Now the client will get the same *HTTP 500 Internal Server Error* response, but the server will have our custom `InternalError` in the logs. 😎
    
    ## Execution of dependencies with `yield`
    
    The sequence of execution is more or less like this diagram. Time flows from top to bottom. And each column is one of the parts interacting or executing code.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		Description:    "You did not provide the number of bytes specified by the Content-Length HTTP header.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInternalError: {
    		Code:           "InternalError",
    		Description:    "We encountered an internal error, please try again.",
    		HTTPStatusCode: http.StatusInternalServerError,
    	},
    	ErrInvalidAccessKeyID: {
    		Code:           "InvalidAccessKeyId",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    ///
    
    ```Python hl_lines="15"
    {!> ../../docs_src/dependencies/tutorial008d.py!}
    ```
    
    ////
    
    Agora o cliente irá receber a mesma resposta *HTTP 500 Internal Server Error*, mas o servidor terá nosso `InternalError` personalizado nos logs. 😎
    
    ## Execução de dependências com `yield`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. internal/s3select/select.go

    				if len(outputQueue) < cap(outputQueue) {
    					continue
    				}
    
    				if !sendRecord() {
    					break OuterLoop
    				}
    			}
    		}
    	}
    
    	if err != nil {
    		_ = writer.FinishWithError("InternalError", err.Error())
    	}
    }
    
    // Close - closes opened S3 object.
    func (s3Select *S3Select) Close() error {
    	if s3Select.recordReader == nil {
    		return nil
    	}
    	return s3Select.recordReader.Close()
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    		apiErr := errorCodes.ToAPIErr(s3Err)
    		// If not set, convert or use BadRequest
    		if s3Err == ErrNone {
    			apiErr = toAPIError(ctx, err)
    			if apiErr.Code == "InternalError" {
    				// Convert generic internal errors to bad requests.
    				apiErr = APIError{
    					Code:           "BadRequest",
    					Description:    err.Error(),
    					HTTPStatusCode: http.StatusBadRequest,
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/ErrorCode.kt

    /** http://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-7 */
    enum class ErrorCode constructor(val httpCode: Int) {
      /** Not an error!  */
      NO_ERROR(0),
    
      PROTOCOL_ERROR(1),
    
      INTERNAL_ERROR(2),
    
      FLOW_CONTROL_ERROR(3),
    
      SETTINGS_TIMEOUT(4),
    
      STREAM_CLOSED(5),
    
      FRAME_SIZE_ERROR(6),
    
      REFUSED_STREAM(7),
    
      CANCEL(8),
    
      COMPRESSION_ERROR(9),
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.26.md

    - Scheduler now retries updating a pod's status on `ServiceUnavailable` and `InternalError` errors, in addition to `net.ConnectionRefused` error. ([#111809](https://github.com/kubernetes/kubernetes/pull/111809), [@Huang-Wei](https://github.com/Huang-Wei))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        internal val reader: Http2Reader,
      ) : Http2Reader.Handler, () -> Unit {
        override fun invoke() {
          var connectionErrorCode = ErrorCode.INTERNAL_ERROR
          var streamErrorCode = ErrorCode.INTERNAL_ERROR
          var errorException: IOException? = null
          try {
            reader.readConnectionPreface(this)
            while (reader.nextFrame(false, this)) {
            }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/config/BaseConfiguration.java

                initProtocolVersions((DialectVersion) null, null);
            }
    
            if ( this.disallowCompound == null ) {
                // Samba woes on these
                // Smb2SessionSetupRequest + X -> INTERNAL_ERROR
                // Smb2TreeConnectRequest + IoCtl -> NETWORK_NAME_DELETED
                this.disallowCompound = new HashSet<>(Arrays.asList("Smb2SessionSetupRequest", "Smb2TreeConnectRequest"));
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
Back to top