1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- class Services_Twilio_RestException extends Exception {
-
- protected $status;
-
- protected $info;
- public function __construct($status, $message, $code = 0, $info = '') {
- $this->status = $status;
- $this->info = $info;
- parent::__construct($message, $code);
- }
-
- public function getStatus() {
- return $this->status;
- }
-
- public function getInfo() {
- return $this->info;
- }
- }
|