src/Error.cc
author Tero Marttila <terom@fixme.fi>
Tue, 13 Jan 2009 21:36:43 +0200
changeset 392 6c4dc68360eb
parent 227 39cd6861e43e
permissions -rw-r--r--
remove unused graphics_default, and default to the highest resolution available in fullscreen mode
227
39cd6861e43e handle errors a bit more gracefully in NetworkTCP
terom
parents:
diff changeset
     1
39cd6861e43e handle errors a bit more gracefully in NetworkTCP
terom
parents:
diff changeset
     2
#include "Error.hh"
39cd6861e43e handle errors a bit more gracefully in NetworkTCP
terom
parents:
diff changeset
     3
39cd6861e43e handle errors a bit more gracefully in NetworkTCP
terom
parents:
diff changeset
     4
std::ostream& operator<< (std::ostream &s, Error &e) {
39cd6861e43e handle errors a bit more gracefully in NetworkTCP
terom
parents:
diff changeset
     5
    return s << e.what();
39cd6861e43e handle errors a bit more gracefully in NetworkTCP
terom
parents:
diff changeset
     6
}
39cd6861e43e handle errors a bit more gracefully in NetworkTCP
terom
parents:
diff changeset
     7