Index
zydeco
/
0dd781a
Experiment in graphics programming, C++, OpenGL, simulation techniques.
Download
|
Refs
|
Commit Log
|
Files
|
README
|
LICENSE
Latest Commit
{#}
Time
Hash
Subject
Author
#
(+)
(-)
GPG?
4
05 Aug 2023 20:50
0dd781a
Create event handling and threads structure
Josh Stockin
1
2
0
G
Blob @
zydeco
/
src
/
util
/
Fault.cpp
text/plain
269 bytes
download raw
1
#include <cstdlib>
2
#include <cpptrace/cpptrace.hpp>
3
#include
"ZydecoCommon.hpp"
4
5
6
static
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