Skip to content

TypeHandlerError

Sub classes

Name Children Inherits
NoHandlerError
promptantic.exceptions
Raised when no handler is found for a type.

    Base classes

    Name Children Inherits
    PromptanticError
    promptantic.exceptions
    Base exception for promptantic.

    ⋔ Inheritance diagram

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

    🛈 DocStrings

    Bases: PromptanticError

    Raised when a type handler fails.

    Source code in src/promptantic/exceptions.py
    class TypeHandlerError(PromptanticError):
        """Raised when a type handler fails."""
    

    :fa-brands-github: Show source on GitHub