Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for internalError (0.16 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. 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)
  4. 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)
  5. 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)
  6. 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