Documentation
›
API Reference
›
Object
›
Debug
Error
Lua
C++
This function will first make a call to Debug::Stop(), then the application will terminate.
Syntax
Error
(string errortext)
Parameters
errortext:
This is the error text that will be printed.
Example
Debug:Error("This is an error!")