# La classe LuaSandboxError

(PECL luasandbox >= 1.0.0)

## Introduction

La classe de base pour les exceptions LuaSandbox

## Synopsis de la classe

class LuaSandboxError extends Exception {
/* Constantes */
const int RUN = 2;
const int SYNTAX = 3;
const int MEM = 4;
const int ERR = 5;
/* Propriétés héritées */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Méthodes héritées */
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
}

## Constantes pré-définies

`LuaSandboxError::RUN`
`LuaSandboxError::SYNTAX`
`LuaSandboxError::MEM`
`LuaSandboxError::ERR`

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open