dreamworkAPI
Ctrl K
GitHub
classDocs / lua / SyntaxError

lua.SyntaxError

classsharedmenusource
Object → Error → lua.SyntaxError

An error raised when Lua code cannot be parsed.

Constructor

lua.SyntaxError(message: string, chunk_name: string, line: integer): lua.SyntaxError

Fields

NameTypeDescription
messagestringThe error message.
chunk_namestringThe name of the chunk where the error occurred.
lineintegerThe line where the error occurred.

Inherited methods

From Error 5
Generated from the dreamwork meta branch.