 |
Blamite Game Engine - Blam (Core)
|
Go to the documentation of this file.
45 BLAM int ShowErrorDialog(std::string message, HRESULT hr,
bool allow_continue,
bool allow_safemode);
Namespace surrounding all major engine components.
Definition: blam_api.h:17
@ Error
Indicates an error that could cause engine instability.
Definition: logger.h:53
BLAM void ShowLastErrorInfo(const char *function, ErrorDisplayType display_type)
Displays the last error information from Windows.
Definition: error.cpp:10
@ Log
Writes the error to the game log.
Definition: error.h:22
#define BLAM
Definition: error.h:7
BLAM int ShowErrorDialog(std::string message, HRESULT hr, bool allow_continue, bool allow_safemode)
Shows an Error dialog with the specified error details and result handle.
Definition: error.cpp:78
@ Dialog
Shows an engine Error dialog.
Definition: error.h:23
BLAM std::string GetStringFromHResult(HRESULT hr)
Converts a result handle to a string.
Definition: error.cpp:48
@ MessageBox
Shows a generic message box.
Definition: error.h:24
ErrorDisplayType
Enumerator used to control how error info from Blam::Error::ShowLastErrorInfo is displayed.
Definition: error.h:20