2025-05-19 21:03:13 +03:30
|
|
|
auto main() -> int32_t
|
|
|
|
try
|
2024-07-09 15:49:01 +03:30
|
|
|
{
|
|
|
|
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;
|
|
|
|
}
|