#ifndef _EFFEXCEPTIONS_HPP #define _EFFEXCEPTIONS_HPP #include namespace eff_utils { struct EffException { EffException(const std::string mess) : _message(mess) {;} std::string _message; }; struct EffConfigException : public EffException { EffConfigException(const std::string & mess) : EffException("eff_utils ConfigException : " + mess) {;} }; struct EffNotImplemented : public EffException { EffNotImplemented( const std::string & mess="") : EffException("eff_utils : feature not implemented yet : " +mess) {;} }; struct EffRequestNotFoundInFile : public EffException { EffRequestNotFoundInFile() : EffException("eff_utils : The specified request is not found in file.") {;} }; } #endif // _EFFEXCEPTIONS_HPP