The LuaSandboxError class

(PECL luasandbox >= 1.0.0)

Introduction

Base class for LuaSandbox exceptions

Class synopsis

classLuaSandboxErrorextendsException {
constintRUN = 2;
constintSYNTAX = 3;
constintMEM = 4;
constintERR = 5;
protectedstring$message = "";
privatestring$string = "";
protectedint$code;
protectedstring$file = "";
protectedint$line;
privatearray$trace = [];
private?Throwable$previous = null;
finalpublicException::getCode(): int
finalpublicException::getLine(): int
}
To Top