Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 660 for handling (0.06 seconds)

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

    # 处理错误 { #handling-errors }
    
    某些情况下,需要向使用你的 API 的客户端返回错误提示。
    
    这里所谓的客户端包括前端浏览器、他人的代码、物联网设备等。
    
    你可能需要告诉客户端:
    
    - 客户端没有执行该操作的权限
    - 客户端没有访问该资源的权限
    - 客户端要访问的项目不存在
    - 等等
    
    遇到这些情况时,通常要返回 **4XX**(400 至 499)**HTTP 状态码**。
    
    这与表示请求成功的 **2XX**(200 至 299)HTTP 状态码类似。那些“200”状态码表示某种程度上的“成功”。
    
    而 **4XX** 状态码表示客户端发生了错误。
    
    大家都知道**「404 Not Found」**错误,还有调侃这个错误的笑话吧?
    
    ## 使用 `HTTPException` { #use-httpexception }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  2. docs/ko/docs/tutorial/handling-errors.md

    # 오류 처리 { #handling-errors }
    
    API를 사용하는 클라이언트에 오류를 알려야 하는 상황은 많이 있습니다.
    
    이 클라이언트는 프론트엔드가 있는 브라우저일 수도 있고, 다른 사람이 작성한 코드일 수도 있고, IoT 장치일 수도 있습니다.
    
    클라이언트에 다음과 같은 내용을 알려야 할 수도 있습니다:
    
    * 클라이언트가 해당 작업을 수행할 충분한 권한이 없습니다.
    * 클라이언트가 해당 리소스에 접근할 수 없습니다.
    * 클라이언트가 접근하려고 한 항목이 존재하지 않습니다.
    * 등등.
    
    이런 경우 보통 **400**번대(400에서 499) 범위의 **HTTP 상태 코드**를 반환합니다.
    
    이는 200번대 HTTP 상태 코드(200에서 299)와 비슷합니다. "200" 상태 코드는 어떤 형태로든 요청이 "성공"했음을 의미합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/io/PropertiesUtil.java

     *
     * @author higa
     */
    public abstract class PropertiesUtil {
    
        /**
         * Do not instantiate.
         */
        protected PropertiesUtil() {
        }
    
        /**
         * Wraps exception handling for {@link Properties#load(InputStream)}.
         * <p>
         * The input stream is not closed.
         * </p>
         *
         * @param props the property set (must not be {@literal null})
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Error handling tests for RankFusionProcessor.
     * Tests exception handling improvements including InterruptedException and ExecutionException.
     */
    public class RankFusionProcessorErrorHandlingTest extends UnitFessTestCase {
    
        private static final String ID_FIELD = "_id";
    
        /**
         * Test handling of searcher that throws RuntimeException.
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  5. fastapi/exceptions.py

        This is for client errors, invalid authentication, invalid data, etc. Not for server
        errors in your code.
    
        Read more about it in the
        [FastAPI docs for Handling Errors](https://fastapi.tiangolo.com/tutorial/handling-errors/).
    
        ## Example
    
        ```python
        from fastapi import FastAPI, HTTPException
    
        app = FastAPI()
    
        items = {"foo": "The Foo Wrestlers"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. .github/ISSUE_TEMPLATE/11-language-change.yml

        validations:
          required: true
    
      - type: textarea
        id: error-handling-proposal
        attributes:
          label: Does this affect error handling?
          description: If so, how does this differ from previous error handling proposals?
          placeholder: |
           Yes or No
    
           If yes, 
            1.how does this differ from previous error handling proposals?
    
        validations:
          required: true
    
      - type: textarea
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Aug 08 19:02:29 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  7. README.md

    - **I/O Operations** (`org.codelibs.core.io`) - File handling, resource management, stream utilities, and traversal utilities for efficient resource processing
    - **Reflection** (`org.codelibs.core.lang`) - Class loading, method/field access, type introspection utilities, and generics support
    - **Exception Handling** (`org.codelibs.core.exception`) - Runtime exception wrappers for common checked exceptions with consistent error handling
    
    ### Modern Java 21 Support
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  8. docs/en/docs/how-to/custom-request-and-route.md

    * Converting non-JSON request bodies to JSON (e.g. [`msgpack`](https://msgpack.org/index.html)).
    * Decompressing gzip-compressed request bodies.
    * Automatically logging all request bodies.
    
    ## Handling custom request body encodings { #handling-custom-request-body-encodings }
    
    Let's see how to make use of a custom `Request` subclass to decompress gzip requests.
    
    And an `APIRoute` subclass to use that custom request class.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  9. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Implement lease break notification handling
    - [ ] Modify SmbFile to support lease-based caching
    - [ ] Add lease upgrade/downgrade logic
    - [ ] Implement lease epoch tracking for v2 leases
    
    #### 1.3 Integration Points
    - Modify `Smb2CreateRequest` to include lease contexts
    - Update `SmbFile` caching logic to use leases
    - Add lease break handling in `SmbTransport`
    
    ---
    
    ### Phase 2: Persistent Handles
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/arch/arm64.go

    // one of the comparison instructions that require special handling.
    func IsARM64ADR(op obj.As) bool {
    	switch op {
    	case arm64.AADR, arm64.AADRP:
    		return true
    	}
    	return false
    }
    
    // IsARM64CMP reports whether the op (as defined by an arm64.A* constant) is
    // one of the comparison instructions that require special handling.
    func IsARM64CMP(op obj.As) bool {
    	switch op {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top