2024 年日本 PHP 研討會

SodiumException 類別

(PHP 7 >= 7.2.0, PHP 8)

簡介

由 sodium 函式拋出的例外。

類別概要

class SodiumException extends Exception {
/* 繼承的屬性 */
protected string $message = "";
private string $string = "";
保護的 整數 $code;
保護的 字串 $file = "";
保護的 整數 $line;
私有的 陣列 $trace = [];
私有的 ?可拋出物件 $previous = null;
/* 繼承的方法 */
公開的 Exception::__construct(字串 $message = "", 整數 $code = 0, ?可拋出物件 $previous = null)
最終 公開的 Exception::getMessage(): 字串
最終 公開的 Exception::getCode(): 整數
最終 公開的 Exception::getFile(): 字串
最終 公開的 Exception::getLine(): 整數
最終 公開的 Exception::getTrace(): 陣列
私有的 Exception::__clone():
}
新增筆記

使用者貢獻的筆記

此頁面沒有使用者貢獻的筆記。
To Top