-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Issue checklist
- This is a feature request/enhancement. And not a bug.
- I searched through the GitHub issues and this feature/enhancement has not been requested before.
- I have installed the latest version of Foundry DevTools and don't use an unsupported python version.
- Others could also benefit from this feature or enhancement and it is not a very specific use case.
Feature use case
The export of Error types would make it possible to catch raised errors and handle them accordingly.
Description of the Feature
An import of the errors like
from foundry_dev_tools import DatasetHasOpenTransactionError
try:
# something
except DatasetHasOpenTransactionError as e:
# something else
except:
# whatever
would be great.
Alternatives you considered
An import of the errors like
from foundry_dev_tools import Errors
try:
# something
except Errors.DatasetHasOpenTransactionError as e:
# something else
except:
# whatever
would be great.
Additional Context
I
jonas-w
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers