#include "Exceptions.hpp" #include #include BaseException::BaseException(const std::string msg) : message(msg) { std::cout << msg << std::endl; }; BaseListException::BaseListException(const std::string msg) : BaseException(msg){}; ValueError::ValueError(const std::string msg) : BaseListException(msg){}; IndexError::IndexError(const std::string msg) : BaseListException(msg){}; DuplicateError::DuplicateError(const std::string msg) : BaseListException(msg){}; BaseDisplayException::BaseDisplayException(const std::string msg) : BaseException(msg){}; PageIndexError::PageIndexError(const std::string msg) : BaseDisplayException(msg){}; FileIOError::FileIOError(const std::string msg) : BaseException(msg){}; FileReadError::FileReadError(const std::string msg) : FileIOError(msg){}; FileWriteError::FileWriteError(const std::string msg) : FileIOError(msg){};