Blamite Game Engine - Blam (Core)
error.h File Reference
#include <string>
#include <Windows.h>

Go to the source code of this file.

Namespaces

 Blam
 Namespace surrounding all major engine components.
 
 Blam::Error
 Namespace containing things relating to Error information and reporting.
 

Macros

#define BLAM
 

Enumerations

enum  Blam::Error::ErrorDisplayType { Blam::Error::Log, Blam::Error::Dialog, Blam::Error::MessageBox }
 Enumerator used to control how error info from Blam::Error::ShowLastErrorInfo is displayed. More...
 

Functions

BLAM void Blam::Error::ShowLastErrorInfo (const char *function, ErrorDisplayType display_type)
 Displays the last error information from Windows. More...
 
BLAM 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. More...
 
BLAM std::string Blam::Error::GetStringFromHResult (HRESULT hr)
 Converts a result handle to a string. More...
 

Macro Definition Documentation

◆ BLAM

#define BLAM