[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/externals/twilio-php/Services/Twilio/ -> RestException.php (summary)

(no description)

File Size: 44 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Services_Twilio_RestException:: (3 methods):
  __construct()
  getStatus()
  getInfo()


Class: Services_Twilio_RestException  - X-Ref

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
__construct($status, $message, $code = 0, $info = '')   X-Ref
A URL to get more information about the error. This is not always
available


getStatus()   X-Ref
Get the HTTP status code


getInfo()   X-Ref
Get a link to more information




Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1