14 #include <llvm/StringRef.h> 41 void Clone(
const Error& error);
43 std::string GetMessage()
const;
44 std::string GetFilename()
const;
45 std::string GetFunction()
const;
46 int GetLineNumber()
const;
47 const ErrorBase* GetOriginatingObject()
const;
48 double GetTimestamp()
const;
58 std::string m_message;
59 std::string m_filename;
60 std::string m_function;
62 const ErrorBase* m_originatingObject =
nullptr;
63 double m_timestamp = 0.0;
Base class for most objects.
Definition: ErrorBase.h:74
Error object represents a library error.
Definition: Error.h:32
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:42