52 explicit Error(
const std::string& file,
u32 line,
const std::string& message) : m_message(
"[" + file +
":" +
std::to_string(line) +
"] " + message){};
70 Error(
const std::string& file,
u32 line,
const Error& error) : m_message(
"[" + file +
":" +
std::to_string(line) +
"]\n" +
error.
get()){};
80 Error(
const std::string& file,
u32 line,
const Error& error,
const std::string& message) : m_message(
"[" + file +
":" +
std::to_string(line) +
"] " + message +
"\n" +
error.
get()){};
87 const std::string&
get()
const
93 std::string m_message =
"";
Error(const Error &error)
const std::string & get() const
Error & operator=(const Error &)=default
Error(const std::string &file, u32 line, const Error &error)
Error & operator=(Error &&)=default
Error(const std::string &file, u32 line, const Error &error, const std::string &message)
Error(const std::string &file, u32 line, const std::string &message)