"""Custom exceptions for JinjaCraft"""


class JinjaCraftError(Exception):
    """Base exception for JinjaCraft"""


class DataFileError(JinjaCraftError):
    """Error loading or parsing YAML data file"""


class TemplateFileError(JinjaCraftError):
    """Error loading template file"""


class TemplateRenderError(JinjaCraftError):
    """Error rendering Jinja2 template"""


class OutputFileError(JinjaCraftError):
    """Error writing output file"""
