You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
410 B
19 lines
410 B
|
3 years ago
|
#include <string_view>
|
||
|
|
|
||
|
|
#define ErrAsio(message) devilution::ErrDlg("ASIO Error", message, __FILE__, __LINE__)
|
||
|
|
|
||
|
|
namespace devilution {
|
||
|
|
|
||
|
|
extern void ErrDlg(const char* title, std::string_view error, std::string_view logFilePath, int logLineNr);
|
||
|
|
|
||
|
|
} // namespace devilution
|
||
|
|
|
||
|
|
namespace asio::detail {
|
||
|
|
|
||
|
|
void fatal_exception(const char* message)
|
||
|
|
{
|
||
|
|
ErrAsio(message);
|
||
|
|
}
|
||
|
|
|
||
|
|
} // namespace asio::detail
|