14 #include <wpi/StringRef.h> 15 #include <wpi/Twine.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;
Definition: Utility.cpp:119
Base class for most objects.
Definition: ErrorBase.h:74
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:49
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Definition: Twine.h:79
Error object represents a library error.
Definition: Error.h:32