Skip to content

NoHandlerError

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: TypeHandlerError

Raised when no handler is found for a type.

Source code in src/promptantic/exceptions.py
class NoHandlerError(TypeHandlerError):
    """Raised when no handler is found for a type."""

:fa-brands-github: Show source on GitHub