summaryrefslogtreecommitdiff
path: root/src/checker/errors/types/isettings_error.hpp
diff options
context:
space:
mode:
authorclaiff <claiff@mail.ru>2022-09-30 12:21:43 +0300
committerclaiff <claiff@mail.ru>2022-09-30 12:21:43 +0300
commit7e2843c706c1a6e033662c45957a76e01d167438 (patch)
tree2af4dacab9a5992d19abd385dbaaa9de40ffc891 /src/checker/errors/types/isettings_error.hpp
parent8d38861429c3544d10752fb0f6f9da436dee218f (diff)
parent7fcd35b7ad0fa2b0a49c5cdd9a62e23412bf8731 (diff)
downloadobmc-sila-smtp-7e2843c706c1a6e033662c45957a76e01d167438.tar.xz
Merge branch 'feature/checker/server'
Diffstat (limited to 'src/checker/errors/types/isettings_error.hpp')
-rw-r--r--src/checker/errors/types/isettings_error.hpp7
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
+}