summaryrefslogtreecommitdiff
path: root/src/file/errors/not_create.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/file/errors/not_create.hpp')
-rw-r--r--src/file/errors/not_create.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/file/errors/not_create.hpp b/src/file/errors/not_create.hpp
new file mode 100644
index 0000000..05046de
--- /dev/null
+++ b/src/file/errors/not_create.hpp
@@ -0,0 +1,18 @@
+#pragma once
+
+#include "types/ierror.hpp"
+#include "general/struct.hpp"
+
+namespace smtp::file::errors
+{
+ class NotCreatedFile : public types::IError
+ {
+ public:
+ explicit NotCreatedFile( std::string const& path );
+ ~NotCreatedFile() override = default;
+
+ void Process( types::SettingsType settings_type ) const override;
+ private:
+ std::string mPath;
+ };
+}