Services_Twitter
[ class tree: Services_Twitter ] [ index: Services_Twitter ] [ all elements ]

Class: Services_Twitter_Exception

Source Location: /Services_Twitter-0.2.0/Services/Twitter/Exception.php

Class Overview

PEAR_Exception
   |
   --Services_Twitter_Exception

Services_Twitter_Exception


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 57]
Services_Twitter_Exception


[ Top ]


Class Variables

$call =  ''

[line 64]

Call to the API that created the error
  • Access: protected

Type:   string


[ Top ]

$response =  ''

[line 71]

The raw response returned by the API
  • Access: protected

Type:   string


[ Top ]



Method Detail

__construct (Constructor)   [line 84]

Services_Twitter_Exception __construct( [string $message = null], [integer $code = 0], [string $call = ''], [string $response = ''])

Constructor

Parameters:

string   $message   —  Error message
integer   $code   —  Error code
string   $call   —  API call that generated error
string   $response   —  The raw response that produced the erorr

[ Top ]

getCall   [line 100]

string getCall( )

Return API call

[ Top ]

getResponse   [line 111]

string getResponse( )

Get the raw API response that died

[ Top ]

__toString   [line 123]

string __toString( )

__toString

Overload PEAR_Exception's horrible __toString implementation.

  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:26:06 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.