Example #1
0
 bool ShowIfError(const Error& e)
 {
   if (e)
   {
     std::cerr << e.ToString();
   }
   return e;
 }
Example #2
0
 void Report(const Error &err)
 {
     std::cerr << err.ToString() << std::endl;
 	_empty = false;
 }