I have these two functions, with duplicated exception treatment, which has the sole purpose of displaying an error message:
void func1() noexcept { try { d