Index

zydeco / 0dd781a

Experiment in graphics programming, C++, OpenGL, simulation techniques.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
405 Aug 2023 20:500dd781aCreate event handling and threads structureJosh Stockin120G

Blob @ zydeco / src / util / Fault.cpp

text/plain269 bytesdownload raw
1#include <cstdlib>
2#include <cpptrace/cpptrace.hpp>
3#include "ZydecoCommon.hpp"
4
5
6static Logger LOGGER("FAULT");
7
8
9[[noreturn]] void ZydecoFault(std::string fault_message)
10{
11 LOGGER.Log(Logger::ERROR, fault_message);
12 cpptrace::print_trace();
13 std::abort();
14}
15