#pragma once #include #include namespace smtp::checker::errors::types { class IError { public: IError() = default; virtual ~IError() = default; virtual bool Check( std::string const& line ) const = 0; }; using IErrorPtr = std::shared_ptr; }