Source code for l2tscaffolder.lib.errors

# -*- coding: utf-8 -*-
"""This file contains the error classes."""


[docs]class Error(Exception): """Base error class."""
[docs]class EngineNotConfigured(Error): """Raised when the scaffolder engine has not been configured correctly."""
[docs]class FileHandlingError(Error): """Raised when the file handler is unable to do file operation."""
[docs]class NoValidDefinition(Error): """Raised when no valid project definition has been identified."""
[docs]class ScaffolderNotConfigured(Error): """Raised when the scaffolder has not been configured correctly."""
[docs]class UnableToConfigure(Error): """Raised when the scaffolder tool has issues with configuration."""
[docs]class WrongCliInput(Error): """Raised when wrong input is entered into the CLI."""