From 3806bb74674f305679efdaa2889d155531bc3643 Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Mon, 26 Jan 2026 17:24:50 +0100 Subject: dir rename --- src/Utils/catchReturn.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/Utils/catchReturn.cpp (limited to 'src/Utils/catchReturn.cpp') diff --git a/src/Utils/catchReturn.cpp b/src/Utils/catchReturn.cpp new file mode 100644 index 0000000..c3d6722 --- /dev/null +++ b/src/Utils/catchReturn.cpp @@ -0,0 +1,11 @@ +#include "Utils.hpp" + +#include +#include + +int Utils::catchReturn(int renum){ + if (renum != 0) { + std::cout << "Received error signal, sending further" << std::endl; + } + return 0; +} \ No newline at end of file -- cgit v1.2.3