Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aldolat committed Jun 1, 2020
0 parents commit c705a6c
Show file tree
Hide file tree
Showing 10 changed files with 1,371 additions and 0 deletions.
19 changes: 19 additions & 0 deletions TwitterOAuth/Exception/TwitterException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

/**
* TwitterOAuth - https://github.com/ricardoper/TwitterOAuth
* PHP library to communicate with Twitter OAuth API version 1.1
*
* @author Dirk Luijk <[email protected]>
* @copyright 2013
*/

namespace TwitterOAuth\Exception;

class TwitterException extends \Exception
{
public function __toString()
{
return "Twitter API Response: [{$this->code}] {$this->message} (" . __CLASS__ . ") ";
}
}
Loading

0 comments on commit c705a6c

Please sign in to comment.