NumCpp  2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
nc::error Namespace Reference

Functions

template<typename ErrorType >
void throwError (const std::string &file, const std::string &function, uint32 line, const std::string &msg="")
 

Function Documentation

◆ throwError()

template<typename ErrorType >
void nc::error::throwError ( const std::string &  file,
const std::string &  function,
uint32  line,
const std::string &  msg = "" 
)

Makes the full error message string

Parameters
filethe file
functionthe function
linethe line of the file
msgthe message to throw (default "")