examples: exception handling++
Some checks are pending
Android / build_x86_64 (push) Waiting to run
Android / build_aarch64 (push) Waiting to run
iOS / build_x86_64 (push) Waiting to run
iOS / build_arm64 (push) Waiting to run
macOS / build (push) Waiting to run
macOS / compact_test (push) Waiting to run
macOS / unit_test (push) Waiting to run
Ubuntu / build (push) Waiting to run
Ubuntu / compact_test (push) Waiting to run
Ubuntu / unit_test (push) Waiting to run
Windows / build (push) Waiting to run
Windows / compact_test (push) Waiting to run
Windows / unit_test (push) Waiting to run

This commit is contained in:
Hermet Park 2025-07-15 23:38:03 +09:00 committed by Hermet Park
parent 43a082798d
commit 2f9591aa86

View file

@ -90,6 +90,11 @@ struct Example
auto rpath = realpath(path, buf);
#endif
if (!rpath) {
cout << "Couldn't open directory \"" << path << "\"." << endl;
return;
}
//open directory
#ifdef _WIN32
WIN32_FIND_DATA fd;