約91,700件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:3か月以内
  • 2026/11/6 -Learn how to use the raise statement to protect your programs from invalid data and impossible states.

    2026/10/16 -Learn what Python exceptions are, how to raise them, how to handle them with try, except, else, and finally, and how to create custom ones.

    3日前 -Methods and constructors can validate inputs before mutating attributes, raise clear exceptions when invariants would break, and let callers decide how to ...

    2026/10/10 -You can catch an exception with try / except and decide whether to recover or re-raise. You can use raise to signal that a function received input it cannot ...

    2026/11/6 -In this article, you will learn how Python decorators work under the hood and how to build reliable ones for timing, retries, caching, and input validation.

    2026/10/18 -When raise_error=True is used and the form is invalid, a ValidationError is raised. This is useful for APIs or when you want the global exception handler to ...

    2026/9/7 -Raising built-in exceptions​. Pick the most specific built-in that fits: ValueError for a bad value, TypeError for a wrong type, KeyError/ LookupError for ...

    2026/11/19 -Data validation and settings management using Python type hints. Fast and extensible, pydantic plays nicely with your linters/IDE/brain. Define how data should ...

    2026/10/21 -Fail fast and provide clear error messages. Raise exceptions as soon as something goes wrong, rather than letting invalid state propagate through your code.

    2026/11/16 -With the broken payload, the error list should contain one entry located at (0, 'total') with type float_type and one at (0, 'customer') with type model_type .