13            Exception(
const std::string& what) : whatStr(what) {};
 
   14            Exception(
const std::string& what, 
const std::string& functionName) : whatStr(functionName + 
": " + what) {};
 
   15            virtual const char* what() 
const noexcept override { 
return whatStr.c_str(); };
 
   26            FileIOError(
const std::string& what, 
const std::string& functionName)
 
   36            InvalidArgument(
const std::string& what, 
const std::string& functionName)
 
   46            InvalidType(
const std::string& what, 
const std::string& functionName)
 
The parent for all other exceptions.
Definition: exceptions.hpp:11
Any error that occurs during file io.
Definition: exceptions.hpp:23
Any error that implies an invalid argument was passed to a function.
Definition: exceptions.hpp:33
Any error where a wrong type was used.
Definition: exceptions.hpp:43