Skip to content

Class peagen.errors.TemplateFileNotFoundError

peagen.errors.TemplateFileNotFoundError

TemplateFileNotFoundError(template_path)

Bases: FileNotFoundError

Raised when the project template file is missing.

Source code in peagen/errors.py
38
39
40
def __init__(self, template_path: str) -> None:
    super().__init__(template_path)
    self.template_path = template_path

template_path instance-attribute

template_path = template_path