summaryrefslogtreecommitdiff
path: root/src/utils/catchReturn.cpp
blob: c3d67221405fa759d18f57bd8aff7b60ffecdfbf (plain)
1
2
3
4
5
6
7
8
9
10
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;
}