OAuthException 类

(PECL OAuth >= 0.99.1)

简介

当使用 OAuth 扩展发生异常错误时,抛出此异常和包含了一些有用的调试信息。

类摘要

classOAuthExceptionextendsException {
public$debugInfo;
protectedstring$message = "";
privatestring$string = "";
protectedint$code;
protectedstring$file = "";
protectedint$line;
privatearray$trace = [];
private?Throwable$previous = null;
finalpublicException::getCode(): int
finalpublicException::getLine(): int
}

属性

lastResponse

发生异常时的响应,如果有的话

debugInfo

To Top