There are two functions under src/utils.cpp that still add a second layer of try/catch for exception handling (on top of what BEGIN_RCPP/END_RCPP does). I'm referring to
|
} catch (std::exception& ex) { |
|
forward_exception_to_r(ex); |
|
} |
and
|
} catch (std::exception& ex){ |
|
forward_exception_to_r(ex); |
|
} |
These try/catch blocks can be removed. The motivation is that I'm revising dependencies to try to phase out this old forward_exception_to_r function in the medium-term.
There are two functions under
src/utils.cppthat still add a second layer of try/catch for exception handling (on top of whatBEGIN_RCPP/END_RCPPdoes). I'm referring torquantlib/src/utils.cpp
Lines 557 to 559 in 03f3efd
and
rquantlib/src/utils.cpp
Lines 596 to 598 in 03f3efd
These try/catch blocks can be removed. The motivation is that I'm revising dependencies to try to phase out this old
forward_exception_to_rfunction in the medium-term.