

class MaestroException(Exception):
    """Base class for Maestro exceptions."""
    pass


class DependencyException(MaestroException):
    """Dependency resolution error."""
    pass


class ParameterException(MaestroException):
    """Invalid parameter passed to Maestro."""
    pass


class OrchestrationException(MaestroException):
    """Error during the execution of the orchestration score."""
    pass


class InvalidPortSpecException(MaestroException):
    "Error thrown when a port spec is in an invalid format."""
    pass


class InvalidLifecycleCheckConfigurationException(MaestroException):
    "Error thrown when a lifecycle check isn't configured properly."""
    pass



class MaestroException(Exception):
    """Base class for Maestro exceptions."""
    pass


class DependencyException(MaestroException):
    """Dependency resolution error."""
    pass


class ParameterException(MaestroException):
    """Invalid parameter passed to Maestro."""
    pass


class EnvironmentConfigurationException(MaestroException):
    """Error in the Maestro environment description file."""
    pass


class OrchestrationException(MaestroException):
    """Error during the execution of the orchestration score."""
    pass


class InvalidPortSpecException(MaestroException):
    "Error thrown when a port spec is in an invalid format."""
    pass


class InvalidLifecycleCheckConfigurationException(MaestroException):
    "Error thrown when a lifecycle check isn't configured properly."""
    pass

Add exception to denote YAML environment configuration issues
Add exception to denote YAML environment configuration issues

Signed-off-by: Maxime Petazzoni <0706025b2bbcec1ed8d64822f4eccd96314938d0@signalfuse.com>

  
  
  class MaestroException(Exception):
      """Base class for Maestro exceptions."""
      pass
  
  
  class DependencyException(MaestroException):
      """Dependency resolution error."""
      pass
  
  
  class ParameterException(MaestroException):
      """Invalid parameter passed to Maestro."""
      pass
  
  
+ class EnvironmentConfigurationException(MaestroException):
+     """Error in the Maestro environment description file."""
+     pass
+ 
+ 
  class OrchestrationException(MaestroException):
      """Error during the execution of the orchestration score."""
      pass
  
  
  class InvalidPortSpecException(MaestroException):
      "Error thrown when a port spec is in an invalid format."""
      pass
  
  
  class InvalidLifecycleCheckConfigurationException(MaestroException):
      "Error thrown when a lifecycle check isn't configured properly."""
      pass
  
Add exception to denote YAML environment configuration issues
## Code Before:


class MaestroException(Exception):
    """Base class for Maestro exceptions."""
    pass


class DependencyException(MaestroException):
    """Dependency resolution error."""
    pass


class ParameterException(MaestroException):
    """Invalid parameter passed to Maestro."""
    pass


class OrchestrationException(MaestroException):
    """Error during the execution of the orchestration score."""
    pass


class InvalidPortSpecException(MaestroException):
    "Error thrown when a port spec is in an invalid format."""
    pass


class InvalidLifecycleCheckConfigurationException(MaestroException):
    "Error thrown when a lifecycle check isn't configured properly."""
    pass

## Instruction:
Add exception to denote YAML environment configuration issues
## Code After:


class MaestroException(Exception):
    """Base class for Maestro exceptions."""
    pass


class DependencyException(MaestroException):
    """Dependency resolution error."""
    pass


class ParameterException(MaestroException):
    """Invalid parameter passed to Maestro."""
    pass


class EnvironmentConfigurationException(MaestroException):
    """Error in the Maestro environment description file."""
    pass


class OrchestrationException(MaestroException):
    """Error during the execution of the orchestration score."""
    pass


class InvalidPortSpecException(MaestroException):
    "Error thrown when a port spec is in an invalid format."""
    pass


class InvalidLifecycleCheckConfigurationException(MaestroException):
    "Error thrown when a lifecycle check isn't configured properly."""
    pass
