Not a sexy topic
Let's face it!
Why do i see this in PHPStorm?
I counted them, there are
11 different InvalidArgumentException
in my small project... WTF?
These are all common exceptions repeated over and over and over again...
How can you catch the right exception if we have 11 copies of the same exception through different libraries!
If we hate creating exceptions so much, why do we reproduce and recreate them so much?
composer require crazycodr/standard-exceptions
Check it out!
And contribute if you have ideas!
Senior Dev @ Learning Bird
Twitter: @thecrazycodr
LinkedIn: @crazycoders
GitHub: @crazycodr
Email: thecrazycodr@gmail.com
Open source contributions
Contact me
Standard-Exceptions 2.0: http://www.github.com/crazycodr/standard-exceptions