diff options
Diffstat (limited to 'src/checker/errors/types/isettings_error.hpp')
-rw-r--r-- | src/checker/errors/types/isettings_error.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/checker/errors/types/isettings_error.hpp b/src/checker/errors/types/isettings_error.hpp index 05f68e3..6355d79 100644 --- a/src/checker/errors/types/isettings_error.hpp +++ b/src/checker/errors/types/isettings_error.hpp @@ -16,7 +16,12 @@ namespace smtp::checker::errors::types IErrorSettings() = default; virtual ~IErrorSettings() = default; + std::string GetMethodName() const + { + static const std::string METHOD_NAME = "Check settings"; + return METHOD_NAME; + } virtual bool Check( manage::SettingsFileDataType const& line ) const = 0; }; using IErrorSettingsPtr = std::shared_ptr<IErrorSettings>; -}
\ No newline at end of file +} |