Skip to content

FieldError

Base classes

Name Children Inherits
ValueError
builtins
Inappropriate argument value (of correct type).

⋔ Inheritance diagram

graph TD
  3681390295["values.FieldError"]
  2098401309["builtins.ValueError"]
  1615621424["builtins.Exception"]
  3224121899["builtins.BaseException"]
  2751680898["builtins.object"]
  2098401309 --> 3681390295
  1615621424 --> 2098401309
  3224121899 --> 1615621424
  2751680898 --> 3224121899

🛈 DocStrings

Bases: ValueError

Input that can't become a value of the field (e.g. "abc" for a number).

Source code in src/promptantic/form/values.py
class FieldError(ValueError):
    """Input that can't become a value of the field (e.g. "abc" for a number)."""

:fa-brands-github: Show source on GitHub