Public Member Functions | |
| __construct ($result) | |
| getResult () | |
| getType () | |
| __toString () | |
Protected Attributes | |
| $result | |
OAuth2.0 draft v10 exception handling.
Definition at line 11 of file OAuth2Exception.inc.
| __construct | ( | $ | result | ) |
Make a new API Exception with the given result.
| $result | The result from the API server. |
Definition at line 24 of file OAuth2Exception.inc.
References $result.
| __toString | ( | ) |
To make debugging easier.
Definition at line 78 of file OAuth2Exception.inc.
References getType().
| getResult | ( | ) |
Return the associated result object returned by the API server.
Definition at line 50 of file OAuth2Exception.inc.
| getType | ( | ) |
Returns the associated type for the error. This will default to 'Exception' when a type is not available.
Definition at line 61 of file OAuth2Exception.inc.
Referenced by __toString().
$result [protected] |
The result from the API server that represents the exception information.
Definition at line 16 of file OAuth2Exception.inc.
Referenced by __construct().
1.7.1