diff options
Diffstat (limited to 'src/utils/throwerror.h')
-rw-r--r-- | src/utils/throwerror.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/utils/throwerror.h b/src/utils/throwerror.h index 9963022e..5514ace1 100644 --- a/src/utils/throwerror.h +++ b/src/utils/throwerror.h @@ -26,10 +26,10 @@ namespace utils { /** - * throw an error after logging it. - * - * @param errmsg error introduction string. - */ + * throw an error after logging it. + * + * @param errmsg error introduction string. + */ inline void throwError(const std::string &errmsg) { LOG_ERROR(errmsg); @@ -37,11 +37,11 @@ namespace utils } /** - * throw an error after logging it. - * - * @param errmsg error introduction string. - * @param T is the exception instance. - */ + * throw an error after logging it. + * + * @param errmsg error introduction string. + * @param T is the exception instance. + */ template <class T> void throwError(std::string errmsg, const T &e) { |