Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,475 for errors (0.12 sec)

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

            }
        ]
    }
    ```
    
    you will get a text version, with:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### Override the `HTTPException` error handler { #override-the-httpexception-error-handler }
    
    The same way, you can override the `HTTPException` handler.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. internal/config/errors.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package config
    
    // UI errors
    var (
    	ErrInvalidXLValue = newErrFn(
    		"Invalid drive path",
    		"Please provide a fresh drive for single drive MinIO setup",
    		"MinIO only supports fresh drive paths",
    	)
    
    	ErrInvalidBrowserValue = newErrFn(
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. 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`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. 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.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. docs/uk/docs/tutorial/handling-errors.md

    **FastAPI** використовує його для того, якщо Ви використовуєте модель Pydantic у `response_model` і у ваших даних є помилка, Ви побачили помилку у своєму журналі.
    
    Але клієнт/користувач не побачить її. Натомість клієнт отримає "Internal Server Error" зі статусом HTTP `500`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. internal/config/errors-utils.go

    	return Err{msg: err.Error()}
    }
    
    // FmtError converts a fatal error message to a more clear error
    // using some colors
    func FmtError(introMsg string, err error, jsonFlag bool) string {
    	renderedTxt := ""
    	uiErr := ErrorToErr(err)
    	// JSON print
    	if jsonFlag {
    		// Message text in json should be simple
    		if uiErr.detail != "" {
    			return uiErr.msg + ": " + uiErr.detail
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/handling-errors.md

            }
        ]
    }
    ```
    
    obtendrás una versión en texto, con:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### Sobrescribir el manejador de errores de `HTTPException` { #override-the-httpexception-error-handler }
    
    De la misma manera, puedes sobrescribir el manejador de `HTTPException`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.7K bytes
    - Viewed (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.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/handling-errors.md

    ```
    
    被替换为了以下文本格式的错误信息:
    
    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    
    ```
    
    ### `RequestValidationError` vs `ValidationError`
    
    /// warning | 警告
    
    如果您觉得现在还用不到以下技术细节,可以先跳过下面的内容。
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. 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 | 注意
    
    これらは今のあなたにとって重要でない場合は省略しても良い技術的な詳細です。
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top