1 #ifndef GAUDIGSL_GSLERROR_H 2 #define GAUDIGSL_GSLERROR_H 1 32 : reason (
std::move(r) ) , file (
std::move(f) ) , line (
l ) , code (
c ) {};
std::string reason
error message ('reason')
std::string file
file name
Helper class to represent GSL errors.
friend bool operator<(const GslError &left, const GslError &right)
comparison (ordering) criteria
GslError(std::string r="", std::string f="", const int l=0, const int c=0)
constructor