Castor3D 0.16.0
Multiplatform 3D engine
Classes | Namespaces | Macros
Exception.hpp File Reference

Classes

class  castor::Exception
 

Namespaces

namespace  castor
 

Macros

#define CU_Exception(text)    throw castor::Exception{ text, __FILE__, __FUNCTION__, uint32_t( __LINE__ ) }
 Macro to ease the use of castor::Exception.
 
#define CU_SrcException(source, text)    throw castor::Exception{ source ": " text, __FILE__, __FUNCTION__, uint32_t( __LINE__ ) }
 Macro to ease the use of castor::Exception.
 

Macro Definition Documentation

◆ CU_Exception

#define CU_Exception ( text)     throw castor::Exception{ text, __FILE__, __FUNCTION__, uint32_t( __LINE__ ) }

◆ CU_SrcException

#define CU_SrcException ( source,
text )    throw castor::Exception{ source ": " text, __FILE__, __FUNCTION__, uint32_t( __LINE__ ) }

Macro to ease the use of castor::Exception.