We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 968bf93 commit e0f5fecCopy full SHA for e0f5fec
inst/include/Rcpp/utils/tinyformat.h
@@ -123,7 +123,10 @@ namespace tinyformat {}
123
namespace tfm = tinyformat;
124
125
// Error handling; calls assert() by default.
126
-// #define TINYFORMAT_ERROR(reasonString) your_error_handler(reasonString)
+namespace Rcpp {
127
+ void stop(const std::string& message);
128
+}
129
+#define TINYFORMAT_ERROR(REASON) ::Rcpp::stop(REASON)
130
131
// Define for C++11 variadic templates which make the code shorter & more
132
// general. If you don't define this, C++11 support is autodetected below.
0 commit comments