diff options
author | Tristan Maat <tristan.maat@codethink.co.uk> | 2019-10-16 17:14:15 +0100 |
---|---|---|
committer | Tristan Maat <tristan.maat@codethink.co.uk> | 2019-12-03 10:45:08 +0000 |
commit | 320b3f2efed977bc11903e5c981a17f7a709022c (patch) | |
tree | 1e14355dfdd1cb0b1b37853024156c7ae5b9bd4e /src/buildstream/_exceptions.py | |
parent | e660e0946ca9a6a58e4aae1d856eb14db99f3f68 (diff) | |
download | buildstream-320b3f2efed977bc11903e5c981a17f7a709022c.tar.gz |
Remove newly unused API surfaces in CASCache
This also involves a number of changes to tests and other parts of the
codebase since they were hacking about wit API that shouldn't have
existed.
Diffstat (limited to 'src/buildstream/_exceptions.py')
-rw-r--r-- | src/buildstream/_exceptions.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/buildstream/_exceptions.py b/src/buildstream/_exceptions.py index ca17577f7..51f542783 100644 --- a/src/buildstream/_exceptions.py +++ b/src/buildstream/_exceptions.py @@ -273,6 +273,15 @@ class SandboxError(BstError): super().__init__(message, detail=detail, domain=ErrorDomain.SANDBOX, reason=reason) +# CacheError +# +# Raised when errors are encountered in either type of cache +# +class CacheError(BstError): + def __init__(self, message, detail=None, reason=None): + super().__init__(message, detail=detail, domain=ErrorDomain.SANDBOX, reason=reason) + + # SourceCacheError # # Raised when errors are encountered in the source caches |