1 #ifndef GAUDIGSL_GSLERROR_H 2 #define GAUDIGSL_GSLERROR_H 1 31 : reason (
std::move(r) ) , file (
std::move(f) ) , line (
l ) , code (
c ) {};
36 code < right.
code ?
true :
37 right.
code < code ?
false :
38 reason < right.
reason ?
true :
39 right.
reason < reason ?
false :
40 file < right.
file ?
true :
41 right.
file < file ?
false : line < right.
line ;
std::string reason
error message ('reason')
std::string file
file name
Helper class to represent GSL errors.
bool operator<(const GslError &right) const
comparison (ordering) criteria
GslError(std::string r="", std::string f="", const int l=0, const int c=0)
constructor