mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
98bc285d98
## Link to GitHub Issue, if one exists #410 ## Description of change When raising fatal errors via `log_fatal`, also show a modal popup. Update instances of `log_fatal` where the message was too long to fit. ## Testing Tested various failure conditions.
15 lines
347 B
C++
15 lines
347 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <initializer_list>
|
|
|
|
namespace deferredlogs {
|
|
|
|
// some shared error messages
|
|
extern const std::initializer_list<std::string> SUPERSTEP_SOUND_ERROR_MESSAGE;
|
|
|
|
void defer_error_messages(std::initializer_list<std::string> messages);
|
|
void dump_to_logger(bool is_crash=false);
|
|
}
|