1: <?php
2:
3: /**
4: * TwitterOAuth - https://github.com/ricardoper/TwitterOAuth
5: * PHP library to communicate with Twitter OAuth API version 1.1
6: *
7: * @author Ricardo Pereira <github@ricardopereira.es>
8: * @copyright 2014
9: */
10:
11: namespace TwitterOAuth\Exception;
12:
13: class TwitterException extends \Exception
14: {
15: public function __toString()
16: {
17: return 'Twitter Response: [' . $this->code . '] ' . $this->message . ' (' . __CLASS__ . ') ';
18: }
19: }
20: