Some checks reported errors
continuous-integration/drone/push Build encountered an error
17 lines
314 B
C++
17 lines
314 B
C++
auto main() -> int32_t
|
|
try
|
|
{
|
|
std::cout << "Light built and ran fine...";
|
|
|
|
return 0;
|
|
}
|
|
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;
|
|
}
|