diff options
| author | dawidg81 <dawidgorski.m@gmail.com> | 2026-01-26 17:24:50 +0100 |
|---|---|---|
| committer | dawidg81 <dawidgorski.m@gmail.com> | 2026-01-26 17:24:50 +0100 |
| commit | 3806bb74674f305679efdaa2889d155531bc3643 (patch) | |
| tree | dcced6c118fb6ed61824bb0bcd24d1ae6aed258c /src/Utils/catchReturn.cpp | |
| parent | b492bfb0d4cafe69edf69f196911f1b0e64c43df (diff) | |
dir rename
Diffstat (limited to 'src/Utils/catchReturn.cpp')
| -rw-r--r-- | src/Utils/catchReturn.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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 <iostream> +#include <ostream> + +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 |
