kbase / staging_service

MIT License
0 stars 9 forks source link

Create an StagingServiceException(Exception) and then derive new exceptions from StagingServiceException #156

Open MrCreosote opened 2 years ago

MrCreosote commented 2 years ago

Probably YAGNI, but we may want to consider creating an StagingServiceException(Exception) and then deriving new exceptions from StagingServiceException instead of Exception, to allow for catching Staging Service Exceptions and Exceptions

try:

except StagingServiceException

except Execption

_Originally posted by @bio-boris in https://github.com/kbase/staging_service/pull/155#discussion_r780726934_