crossroads

Git mirror of https://crossroads.e-tunity.com/
git clone git://git.finwo.net/app/crossroads
Log | Files | Refs | LICENSE

error (359B)


      1 #ifndef _ERROR_
      2 #define _ERROR_
      3 
      4 #include "sys/sys"
      5 #include "timestamp/timestamp"
      6 
      7 using namespace std;
      8 
      9 class Error {
     10 public:
     11     Error (string s);
     12     Error (int i);
     13     Error &operator+ (Error const &other);
     14     Error &operator+ (string const &s);
     15     Error &operator+ (int i);
     16     char const *what() const throw ();
     17 
     18 private:
     19     string desc;
     20 };
     21 
     22 #endif