[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:
@@ -20,3 +20,6 @@ class DatastructureError(Exception):
|
||||
|
||||
class OverwriteError(IOError):
|
||||
pass
|
||||
|
||||
class ParameterError(Exception):
|
||||
pass
|
||||
Reference in New Issue
Block a user