J7mbo / twitter-api-php

The simplest PHP Wrapper for Twitter API v1.1 calls
MIT License
1.82k stars 802 forks source link

Introduce custom Exception subclass #206

Closed finwe closed 7 years ago

finwe commented 7 years ago

for more fine-grained catchability from the library

J7mbo commented 7 years ago

This would technically be a BC break, but because they'll be catching \Exception anyway they'll of course catch this. I don't think it's wise to accept this for the current release now, but I think it's a great idea and should exist in the next major version. Thanks! :-) (ps when that comes along I'll reference you so you can get your first PR in) 👍