Tidy Exceptions and ensure LayerExceptions are passed a layer name.

This commit is contained in:
Mike Auty
2019-09-26 15:44:36 +01:00
parent 2acdc3e060
commit 679a0eabc2
5 changed files with 22 additions and 21 deletions
-4
View File
@@ -88,10 +88,6 @@ class LayerException(VolatilityException):
self.layer_name = layer_name
class StructureException(VolatilityException):
"""Thrown when an error occurs dealing with an expected structure type."""
class UnsatisfiedException(VolatilityException):
def __init__(self, unsatisfied: Dict[str, interfaces.configuration.RequirementInterface]) -> None: