OAuthException 類

(PECL OAuth >= 0.99.1)

簡介

當(dāng)使用 OAuth 擴展發(fā)生異常錯誤時,拋出此異常和包含了一些有用的調(diào)試信息。

類摘要

class OAuthException extends Exception {
/* 屬性 */
public $lastResponse;
public $debugInfo;
/* 繼承的屬性 */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* 繼承的方法 */
final public Exception::getMessage(): string
final public Exception::getCode(): int
final public Exception::getFile(): string
final public Exception::getLine(): int
final public Exception::getTrace(): array
final public Exception::getTraceAsString(): string
public Exception::__toString(): string
private Exception::__clone(): void
}

屬性

lastResponse

發(fā)生異常時的響應(yīng),如果有的話

debugInfo