array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ru', ), 'this' => array ( 0 => 'class.luasandboxruntimeerror.php', 1 => 'LuaSandboxRuntimeError', ), 'up' => array ( 0 => 'book.luasandbox.php', 1 => 'LuaSandbox', ), 'prev' => array ( 0 => 'class.luasandboxmemoryerror.php', 1 => 'LuaSandboxMemoryError', ), 'next' => array ( 0 => 'class.luasandboxsyntaxerror.php', 1 => 'LuaSandboxSyntaxError', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ru', 'path' => 'reference/luasandbox/luasandboxruntimeerror.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL luasandbox >= 1.0.0)
Отлавливаемые исключения во время выполнения LuaSandbox.
Их можно отловить внутри Lua, используя
pcall()
или xpcall()
.