14 #include <wpi/StringRef.h>
15 #include <wpi/Twine.h>
41 bool operator<(
const Error& rhs)
const;
44 std::string GetMessage()
const;
45 std::string GetFilename()
const;
46 std::string GetFunction()
const;
47 int GetLineNumber()
const;
48 const ErrorBase* GetOriginatingObject()
const;
49 double GetTimestamp()
const;
59 std::string m_message;
60 std::string m_filename;
61 std::string m_function;
63 const ErrorBase* m_originatingObject =
nullptr;
64 double m_timestamp = 0.0;
Definition: SPIAccelerometerSim.h:18
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