.reference

git-svn-id: svn://ultimatepp.org/upp/trunk@11343 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-10-01 11:47:50 +00:00
parent 6b6d38c454
commit 5e974f5b93
4 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,16 @@
#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
StdLogSetup(LOG_COUT|LOG_FILE);
try {
CoWork co;
co & [] { throw "Worker exception"; };
}
catch(const char *s) {
LOG("Caught: " << s);
}
}