OAuth
PHP 手册

OAuthException class

简介

This exception is thrown when exceptional errors when using the OAuth extension and contains useful debugging information.

Class synopsis

OAuthException
OAuthException extends Exception {
/* Properties */
public $lastResponse ;
/* Inherited methods */
final public string Exception::getMessage ( void )
final public int Exception::getCode ( void )
final public string Exception::getFile ( void )
final public int Exception::getLine ( void )
final public array Exception::getTrace ( void )
final public string Exception::getTraceAsString ( void )
public string Exception::__toString ( void )
final private void Exception::__clone ( void )
}

属性

message

A human readable message about what went wrong

code

Exception code

file

File where exception was thrown

line

File where exception was thrown

lastResponse

The response of the exception which occured, if any


OAuth
PHP 手册