14 #include <wpi/StringRef.h>
15 #include <wpi/Twine.h>
18 #pragma push_macro("GetMessage")
40 bool operator<(
const Error& rhs)
const;
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;
69 #pragma pop_macro("GetMessage")
WPILib FRC namespace.
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:31