WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
frc::Error Class Reference

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 ErrorBaseGetOriginatingObject () 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)
 

Detailed Description

Error object represents a library error.


The documentation for this class was generated from the following file: