Skip to content

PromptanticError

Sub classes

Name Children Inherits
ValidationError
promptantic.exceptions
Raised when validation fails.
    TypeHandlerError
    promptantic.exceptions
    Raised when a type handler fails.

    Base classes

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

    ⋔ Inheritance diagram

    graph TD
      930516429["exceptions.PromptanticError"]
      1615621424["builtins.Exception"]
      3224121899["builtins.BaseException"]
      2751680898["builtins.object"]
      1615621424 --> 930516429
      3224121899 --> 1615621424
      2751680898 --> 3224121899

    🛈 DocStrings

    Bases: Exception

    Base exception for promptantic.

    Source code in src/promptantic/exceptions.py
    class PromptanticError(Exception):
        """Base exception for promptantic."""
    

    :fa-brands-github: Show source on GitHub