1 #ifndef _QTRAPIDS_ERROR_HPP_
2 #define _QTRAPIDS_ERROR_HPP_
16 Error(char const *msg)
20 void append_to_msg(T val) {
30 Error& operator << (Error &self, T val)
32 self.append_to_msg(val);
36 class InvalidArgument : public Error
41 InvalidArgument& operator << (InvalidArgument &self, T val)
43 self.append_to_msg(val);
49 #endif // _QTRAPIDS_ERROR_HPP_