#pragma once #include namespace smtp::file::errors::types { enum class SettingsType { Server, Mail }; class IError { public: virtual ~IError() = default; virtual void Process( SettingsType settings_type ) const = 0; }; using IErrorPtr = std::shared_ptr; }