NumCpp  2.17.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
Loading...
Searching...
No Matches
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 "")