ponder
3.2
C++ reflection library
|
Error thrown when a declaring a metaclass that already exists. More...
#include <errors.hpp>
Public Member Functions | |
NotEnoughArguments (IdRef functionName, size_t provided, size_t expected) | |
Constructor. More... | |
Public Member Functions inherited from ponder::Error | |
virtual | ~Error () throw () |
Destructor. | |
virtual const char * | what () const throw () |
Return a description of the error. More... | |
virtual const char * | where () const throw () |
Return the error location (file + line + function) More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from ponder::Error | |
template<typename T > | |
static T | prepare (T error, const String &file, int line, const String &function) |
Prepare an error to be thrown. More... | |
Error thrown when a declaring a metaclass that already exists.
ponder::NotEnoughArguments::NotEnoughArguments | ( | IdRef | functionName, |
size_t | provided, | ||
size_t | expected | ||
) |
functionName | Name of the function |
provided | Number of arguments provided |
expected | Number of arguments expected |