PHP Conference Japan 2024

LuaSandboxError 類別

(PECL luasandbox >= 1.0.0)

簡介

LuaSandbox 例外的基底類別

類別概要

class LuaSandboxError extends Exception {
/* 常數 */
const int RUN = 2;
常數 整數 SYNTAX = 3;
常數 整數 MEM = 4;
常數 整數 ERR = 5;
/* 繼承的屬性 */
保護 字串 $message = "";
私有 字串 $string = "";
保護 整數 $code;
保護 字串 $file = "";
保護 整數 $line;
私有 陣列 $trace = [];
私有 ?Throwable $previous = null;
/* 繼承的方法 */
最終 公開 Exception::getMessage(): 字串
最終 公開 Exception::getCode(): 整數
最終 公開 Exception::getFile(): 字串
最終 公開 Exception::getLine(): 整數
最終 公開 Exception::getTrace(): 陣列
}
新增筆記

使用者貢獻的筆記

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