Files
2025-02-24 23:03:13 +01:00

20 lines
333 B
C++

//
// Fatal.cpp
// SDLTest
//
// Created by Даниил Виноградов on 14.03.2023.
//
#include <tools/Fatal.h>
namespace NXKit {
[[noreturn]] void fatal(const std::string& message)
{
// brls::Logger::error("Fatal error: {}", message);
printf("%s\n", message.c_str());
throw std::logic_error(message);
}
}