Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,004 for error_ (0.04 seconds)

  1. src/cmd/cgo/ast.go

    	if err != nil {
    		if list, ok := err.(scanner.ErrorList); ok {
    			// If err is a scanner.ErrorList, its String will print just
    			// the first error and then (+n more errors).
    			// Instead, turn it into a new Error that will return
    			// details for all the errors.
    			for _, e := range list {
    				fmt.Fprintln(os.Stderr, e)
    			}
    			os.Exit(2)
    		}
    		fatalf("parsing %s: %s", name, err)
    	}
    	return ast1
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:59 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  2. internal/s3select/unused-errors.go

    package s3select
    
    // /////////////////////////////////////////////////////////////////////
    //
    //	Validation errors.
    //
    // /////////////////////////////////////////////////////////////////////
    func errExpressionTooLong(err error) *s3Error {
    	return &s3Error{
    		code:       "ExpressionTooLong",
    		message:    "The SQL expression is too long: The maximum byte-length for the SQL expression is 256 KB.",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/handling-errors.md

            }
        ]
    }
    ```
    
    eine Textversion mit:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### Überschreiben des `HTTPException`-Fehlerhandlers { #override-the-httpexception-error-handler }
    
    Auf die gleiche Weise können Sie den `HTTPException`-Handler überschreiben.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  4. cmd/object-api-errors.go

    	return errors.As(err, &bkNotFound)
    }
    
    // isErrReadQuorum check if the error type is InsufficientReadQuorum
    func isErrReadQuorum(err error) bool {
    	var rquorum InsufficientReadQuorum
    	return errors.As(err, &rquorum)
    }
    
    // isErrWriteQuorum check if the error type is InsufficientWriteQuorum
    func isErrWriteQuorum(err error) bool {
    	var rquorum InsufficientWriteQuorum
    	return errors.As(err, &rquorum)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 09 02:05:14 GMT 2024
    - 22.1K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/handling-errors.md

            }
        ]
    }
    ```
    
    вы получите текстовую версию:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### Переопределите обработчик ошибок `HTTPException` { #override-the-httpexception-error-handler }
    
    Аналогичным образом можно переопределить обработчик `HTTPException`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 14K bytes
    - Click Count (0)
  6. docs/uk/docs/tutorial/handling-errors.md

            }
        ]
    }
    ```
    
    ви отримаєте текстову версію:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### Перевизначення обробника помилок `HTTPException` { #override-the-httpexception-error-handler }
    
    Аналогічно, ви можете перевизначити обробник `HTTPException`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/handling-errors.md

            }
        ]
    }
    ```
    
    vous obtiendrez une version texte, avec :
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### Remplacer le gestionnaire d'erreurs `HTTPException` { #override-the-httpexception-error-handler }
    
    De la même manière, vous pouvez remplacer le gestionnaire de `HTTPException`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/handling-errors.md

    # Manipulação de erros { #handling-errors }
    
    Há diversas situações em que você precisa notificar um erro a um cliente que está utilizando a sua API.
    
    Esse cliente pode ser um browser com um frontend, o código de outra pessoa, um dispositivo IoT, etc.
    
    Pode ser que você precise comunicar ao cliente que:
    
    * O cliente não tem direitos para realizar aquela operação.
    * O cliente não tem acesso aquele recurso.
    * O item que o cliente está tentando acessar não existe.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/handling-errors.md

            }
        ]
    }
    ```
    
    다음과 같은 텍스트 버전을 받게 됩니다:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### `HTTPException` 오류 핸들러 오버라이드하기 { #override-the-httpexception-error-handler }
    
    같은 방식으로 `HTTPException` 핸들러도 오버라이드할 수 있습니다.
    
    예를 들어, 이런 오류들에 대해 JSON 대신 일반 텍스트 응답을 반환하고 싶을 수 있습니다:
    
    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)
  10. docs/ja/docs/tutorial/handling-errors.md

                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    以下のテキスト版を取得します:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### `HTTPException`エラーハンドラのオーバーライド { #override-the-httpexception-error-handler }
    
    同様に、`HTTPException`ハンドラをオーバーライドすることもできます。
    
    例えば、これらのエラーに対しては、JSONではなくプレーンテキストを返すようにすることができます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.2K bytes
    - Click Count (0)
Back to Top