Rework the client error handling

This commit is contained in:
Chunting Gu
2019-06-10 12:00:57 +08:00
parent c2a009f68a
commit 8c09189b14
16 changed files with 158 additions and 199 deletions
+2 -2
View File
@@ -58,8 +58,8 @@ int main() {
#endif // WEBCC_ENABLE_SSL
} catch (const webcc::Exception& e) {
std::cout << "Exception: " << e.what() << std::endl;
} catch (const webcc::Error& error) {
std::cout << error << std::endl;
}
return 0;