Exceptions thrown by the Lua runtime because of errors in the script
More...
|
bool | IsNetException [get] |
| Returns true if the exception has occured as the result of a .NET exception in user code More...
|
|
override string | Source [get] |
| The position in the script where the exception was triggered. More...
|
|
|
| LuaException (SerializationInfo info, StreamingContext context) |
|
Exceptions thrown by the Lua runtime because of errors in the script
◆ LuaScriptException() [1/2]
NLua.Exceptions.LuaScriptException.LuaScriptException |
( |
string |
message, |
|
|
string |
source |
|
) |
| |
Creates a new Lua-only exception.
- Parameters
-
message | The message that describes the error. |
source | The position in the script where the exception was triggered. |
◆ LuaScriptException() [2/2]
NLua.Exceptions.LuaScriptException.LuaScriptException |
( |
Exception |
innerException, |
|
|
string |
source |
|
) |
| |
Creates a new .NET wrapping exception.
- Parameters
-
innerException | The .NET exception triggered by user-code. |
source | The position in the script where the exception was triggered. |
◆ ToString()
override string NLua.Exceptions.LuaScriptException.ToString |
( |
| ) |
|
◆ IsNetException
bool NLua.Exceptions.LuaScriptException.IsNetException |
|
get |
Returns true if the exception has occured as the result of a .NET exception in user code
◆ Source
override string NLua.Exceptions.LuaScriptException.Source |
|
get |
The position in the script where the exception was triggered.
The documentation for this class was generated from the following file:
- D:/Documents/Unity Projects/Dialogue System/Dev/Source/Assets/Dialogue System/Scripts/NLua/Core/Exceptions/LuaScriptException.cs