Error
This function will first make a call to Debug::Stop(), then the application will terminate.
Syntax
- static void Error(const std::string& errortext)
Parameters
- errortext: This is the error text that will be printed.
Example
#include "Leadwerks.h"
using namespace Leadwerks;
int main(int argc, const char *argv[])
{
Debug::Error("This is an error!");
}