added error class for error that should never come up
This commit is contained in:
parent
1fa38689d8
commit
80495e50f9
1 changed files with 7 additions and 0 deletions
|
@ -498,3 +498,10 @@ def __init__(self, spec, ext_spec):
|
|||
super(NoSuchExtensionError, self).__init__(
|
||||
"%s cannot be removed from %s because it's not activated."% (
|
||||
ext_spec.short_spec, spec.short_spec))
|
||||
|
||||
class DependencyConflictError(SpackError):
|
||||
"""Raised when the dependencies cannot be flattened as asked for."""
|
||||
def __init__(self, conflict):
|
||||
super(DependencyConflictError, self).__init__(
|
||||
"%s conflicts with another file in the flattened directory." %(
|
||||
conflict))
|
||||
|
|
Loading…
Reference in a new issue