-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove custom alias/name for exception class #153
Conversation
Added by @abbadon1334 , I don't think it's documented though. Not sure what was the intention. |
04360b7
to
0181b84
Compare
@romaninsh Having custom name in opposite to the real class name is very confusing. I left there custom_exception_title even it seems to be not used acrosss in atk projects. |
0181b84
to
e05265a
Compare
Codecov Report
@@ Coverage Diff @@
## develop #153 +/- ##
=============================================
- Coverage 97.09% 97.06% -0.04%
+ Complexity 460 456 -4
=============================================
Files 24 24
Lines 1067 1055 -12
=============================================
- Hits 1036 1024 -12
Misses 31 31
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with @mvorisek, i don't remember who requested it, but was discussed the ability to set a custom name for Exceptions.
For me there is no problem to remove it.
@mvorisek i don't agree or disagree - just wanted to give a chance to @abbadon1334 and hear his reasoning ;) Well done on this PR! |
Plus use "Critical Error" for non-atk exceptions to be consistent with them.
Before:
![image](https://user-images.githubusercontent.com/2228672/78898455-209a4e80-7a74-11ea-87eb-ee837a6223bf.png)
After:
![image](https://user-images.githubusercontent.com/2228672/78898489-2bed7a00-7a74-11ea-8376-35904e7745d9.png)