The LuaSandboxSyntaxError class

(PECL luasandbox >= 1.0.0)

Introduction

Exception thrown when Lua code cannot be parsed.

Class synopsis

classLuaSandboxSyntaxErrorextendsLuaSandboxFatalError {
protectedstring$message = "";
privatestring$string = "";
protectedint$code;
protectedstring$file = "";
protectedint$line;
privatearray$trace = [];
private?Throwable$previous = null;
finalpublicException::getCode(): int
finalpublicException::getLine(): int
}
To Top