diff --git a/include/util.h b/include/util.h index 553f8d2f52c1101109e1e5d8f49e2f562bdcd616..590ecce85daa637d83bf2e88060238183c8c1143 100644 --- a/include/util.h +++ b/include/util.h @@ -83,6 +83,8 @@ inline static void mpf_backtrace(){} /*! \brief Displays a warning message and that's all. */ #define SETWARN(n,s, ...) {MpfWarning(__LINE__,PACKAGE_NAME,__FILE__,__func__,n,s, ## __VA_ARGS__);} +/*! \brief Displays an error message. */ +#define SHWERRM(n,s, ...) {MpfError(__LINE__,PACKAGE_NAME,__FILE__,__func__,n,s, ## __VA_ARGS__);} /*! \brief Displays an error message and quits the current routine. */ #define SETERRQ(n,s, ...) {int _ierr = MpfError(__LINE__,PACKAGE_NAME,__FILE__,__func__,n,s, ## __VA_ARGS__); debug_break(); return _ierr;} /*! \brief Displays an error message and aborts the code. */