Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<LuaSandboxFunction::dumpLuaSandboxErrorError>
^LuaSandboxLast updated: Mon, 26 Oct 2026

The LuaSandboxError class

(PECL luasandbox >= 1.0.0)

Introduction

Base class for LuaSandbox exceptions

Class synopsis

class LuaSandboxError extends Exception {
/* Constants */
const int RUN = 2;
const int SYNTAX = 3;
const int MEM = 4;
const int ERR = 5;
/* Inherited properties */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Inherited methods */
final public function Exception::getMessage(): string
final public function Exception::getPrevious(): ?Throwable
final public function Exception::getCode(): int
final public function Exception::getFile(): string
final public function Exception::getLine(): int
final public function Exception::getTrace(): array
final public function Exception::getTraceAsString(): string
public function Exception::__toString(): string
private function Exception::__clone(): void
}

<LuaSandboxFunction::dumpLuaSandboxErrorError>
^LuaSandboxLast updated: Mon, 26 Oct 2026