summaryrefslogtreecommitdiff
path: root/src/file/errors/not_create.hpp
diff options
context:
space:
mode:
authorclaiff <claiff@mail.ru>2022-10-06 12:26:56 +0300
committerclaiff <claiff@mail.ru>2022-10-06 12:26:56 +0300
commit04e97b30880c1c3252fe900ccac268267539e424 (patch)
tree1f4cd2d1e2f8cf2442d055c519d06c6e0692febc /src/file/errors/not_create.hpp
parent8edef99a5b52643e0b919c424357752cbbc9a8dd (diff)
parentda5f91a0ce15351a82beb061c3ccc965164529bc (diff)
downloadobmc-sila-smtp-04e97b30880c1c3252fe900ccac268267539e424.tar.xz
Merge branch 'bugfix/proxy_file_reader'
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;
+ };
+}