[edit] avoid catching unspecified Exceptions
specific Exception catchment is better than general; additionally errors are raised for better debugging control
This commit is contained in:
1 parent
31d56cb287
commit
722e21f582
2 files changed
+7
-1
No files matched your search
@@ -20,3 +20,6 @@ class DatastructureError(Exception):
|
||||
|
||||
class OverwriteError(IOError):
|
||||
pass
|
||||
|
||||
class ParameterError(Exception):
|
||||
pass
|
||||
Reference in new issue
Block a user