-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Error handling for User errors
Some issues where raised where the users made an error when executing pytm on the shell. It seems that the issue is that pytm is not returning a custom error but just a Python trace. This commit add the UIError, which will be handled inside the process function. UIError is a warpper arround another exception and adds a context description. This commit only adds UIError for open calls in pytm, since these are obvious pitfalls for users.
- Loading branch information
1 parent
502766f
commit 5a5b960
Showing
2 changed files
with
33 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters