OAuthException class

(PECL OAuth >= 0.99.1)

Introduction

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

Class synopsis

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
}

Properties

lastResponse

The response of the exception which occurred, if any

debugInfo

To Top