WPILibC++
2019.1.1-beta-2-5-g55493b0
|
Error object represents a library error. More...
#include <Error.h>
Public Types | |
using | Code = int |
Public Member Functions | |
Error (Code code, const wpi::Twine &contextMessage, wpi::StringRef filename, wpi::StringRef function, int lineNumber, const ErrorBase *originatingObject) | |
bool | operator< (const Error &rhs) const |
Code | GetCode () const |
std::string | GetMessage () const |
std::string | GetFilename () const |
std::string | GetFunction () const |
int | GetLineNumber () const |
const ErrorBase * | GetOriginatingObject () const |
double | GetTimestamp () const |
void | Clear () |
void | Set (Code code, const wpi::Twine &contextMessage, wpi::StringRef filename, wpi::StringRef function, int lineNumber, const ErrorBase *originatingObject) |
Error object represents a library error.