CakeFest 2024: The Official CakePHP Conference

OAuthException クラス

(PECL OAuth >= 0.99.1)

はじめに

この例外は、OAuth 拡張モジュールの使用中に例外エラーが発生したときにスローされます。 デバッグに有用な情報が含まれています。

クラス概要

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
}

プロパティ

lastResponse

発生した例外のレスポンス (存在する場合)。

debugInfo

add a note

User Contributed Notes

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