| Server IP : 162.214.74.102 / Your IP : 216.73.217.114 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/www/lrsys_apps/school/application/libraries/twilio_library/Twilio/ |
Upload File : |
<?php
/**
* An exception talking to the Twilio API. This is thrown whenever the Twilio
* API returns a 400 or 500-level exception.
*
* :param int $status: the HTTP status for the exception
* :param string $message: a human-readable error message for the exception
* :param int $code: a Twilio-specific error code for the exception
* :param string $info: a link to more information
*/
class Services_Twilio_RestException extends Exception {
/**
* The HTTP status for the exception.
*/
protected $status;
/**
* A URL to get more information about the error. This is not always
* available
*/
protected $info;
public function __construct($status, $message, $code = 0, $info = '') {
$this->status = $status;
$this->info = $info;
parent::__construct($message, $code);
}
/**
* Get the HTTP status code
*/
public function getStatus() {
return $this->status;
}
/**
* Get a link to more information
*/
public function getInfo() {
return $this->info;
}
}