7#include <source_location>
37 const std::source_location location = std::source_location::current());
46 Error(
const HRESULT hResult,
const std::source_location location = std::source_location::current());
55 unsigned long iErrorCode,
const std::source_location location = std::source_location::current());
59 virtual ~Error() =
default;
99 const std::source_location location = std::source_location::current());
135 std::vector<SourceLocationInfo>
stack;
std::string getFullErrorMessage() const
Definition: Error.cpp:84
Error & operator=(Error &&other)=default
std::string getInitialMessage() const
Definition: Error.cpp:100
Error & operator=(const Error &other)=default
std::string sMessage
Definition: Error.h:132
static SourceLocationInfo sourceLocationToInfo(const std::source_location &location)
Definition: Error.cpp:116
std::vector< SourceLocationInfo > stack
Definition: Error.h:135
void addCurrentLocationToErrorStack(const std::source_location location=std::source_location::current())
Definition: Error.cpp:80
Error(const Error &other)=default
void showError() const
Definition: Error.cpp:102
Error(Error &&other)=default
std::string sLine
Definition: Error.h:21
std::string sFilename
Definition: Error.h:18