Skip to content

FormCancelledError

Base classes

Name Children Inherits
Exception
builtins
Common base class for all non-exit exceptions.

⋔ Inheritance diagram

graph TD
  3183264686["target.FormCancelledError"]
  1615621424["builtins.Exception"]
  3224121899["builtins.BaseException"]
  2751680898["builtins.object"]
  1615621424 --> 3183264686
  3224121899 --> 1615621424
  2751680898 --> 3224121899

🛈 DocStrings

Bases: Exception

The user closed the form without submitting it.

Source code in src/promptantic/form/target.py
class FormCancelledError(Exception):
    """The user closed the form without submitting it."""

:fa-brands-github: Show source on GitHub