SA_Logger
Sapphire's Suite's C++ Logger.
Loading...
Searching...
No Matches
Macros
AssertMacro.hpp File Reference

Assert Helper Macros implementation. More...

#include <SA/Logger/Preprocessors/LogMacro.hpp>

Go to the source code of this file.

Macros

#define SA_THROW((_type, _params...)   , _chan, _dets)
 Sapphire Throw macro.
 
#define SA_ASSERT((_type, _params...)   , _chan, _dets)
 

Detailed Description

Assert Helper Macros implementation.

Macro Definition Documentation

◆ SA_THROW

#define SA_THROW ( )    , _chan, _dets)

Sapphire Throw macro.

Helper macro to force call throw with Debug::Assert.

Parameters
[in]_typeType of the exception.
[in]_params...Parameters used for the exception type.
[in]_chanChannel of the assert (optional).
[in]_detsAdditional details string of the exception (optional).
Examples
Exception_ReachBadAPITests.cpp.