Function Blam::Error::ShowErrorDialog¶
Defined in File error.h
Function Documentation¶
-
int
Blam::Error
::
ShowErrorDialog
(std::string message, HRESULT hr, bool allow_continue, bool allow_safemode)¶ Shows an Error dialog with the specified error details and result handle.
This can be used to show a more descriptive message along with an error code for debugging.
- Parameters
message
: - The detailed message to show.hr
: - The result handle that was in an error state.allow_continue
: - Whether or not to allow the user to try to continue.allow_safemoed
: - Whether or not to allow the user to try to continue in Safe Mode.