# 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

class OAuthException extends Exception {
/* Properties */
public $lastResponse;
public $debugInfo;
/* Inherited properties */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Inherited methods */
final public function Exception::getMessage(): string
final public function Exception::getPrevious(): ?Throwable
final public function Exception::getCode(): int
final public function Exception::getFile(): string
final public function Exception::getLine(): int
final public function Exception::getTrace(): array
final public function Exception::getTraceAsString(): string
public function Exception::__toString(): string
private function Exception::__clone(): void
}

## Properties

lastResponse
  The response of the exception which occurred, if any
debugInfo

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open