light/modules/engine/private/entrypoint.cpp

18 lines
314 B
C++
Raw Normal View History

2025-05-19 21:03:13 +03:30
auto main() -> int32_t
try
{
std::cout << "Light built and ran fine...";
return 0;
}
2025-05-19 21:03:13 +03:30
catch (const std::exception &exp)
{
std::cout << "\n\nUnhandled std exception: " << exp.what() << std::endl; // NOLINT
return -1;
}
catch (...)
{
std::cout << "\n\nUnhandled exception" << std::endl; // NOLINT
return -1;
}