|
@@ -0,0 +1,25 @@
|
|
|
+/*
|
|
|
+ * Author: Patrick-Christopher Mattulat
|
|
|
+ * Company: Lynar Studios
|
|
|
+ * E-Mail: webmaster@lynarstudios.com
|
|
|
+ * Created: 2020-08-15
|
|
|
+ * Changed: 2020-08-15
|
|
|
+ *
|
|
|
+ * */
|
|
|
+
|
|
|
+#ifndef FILE_OPERATION_EXCEPTION_HPP
|
|
|
+#define FILE_OPERATION_EXCEPTION_HPP
|
|
|
+
|
|
|
+#include <exception>
|
|
|
+
|
|
|
+namespace ls_std {
|
|
|
+ class FileOperationException : public std::exception {
|
|
|
+ public:
|
|
|
+
|
|
|
+ const char *what() const noexcept override {
|
|
|
+ return "file operation failed...";
|
|
|
+ }
|
|
|
+ };
|
|
|
+}
|
|
|
+
|
|
|
+#endif
|