CakeFest 2024: The Official CakePHP Conference

La classe OAuthException

(PECL OAuth >= 0.99.1)

Introduction

Cette exception est émise quand des erreurs exceptionnelles surviennent durant l'utilisation de l'extension OAuth, et contient des informations pratiques pour déboguer.

Synopsis de la classe

class OAuthException extends Exception {
/* Propriétés */
public $lastResponse;
public $debugInfo;
/* Propriétés héritées */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Méthodes héritées */
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
}

Propriétés

lastResponse

La réponse à l'exception survenue, s'il y en a

debugInfo

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top