12345678910111213141516171819202122232425262728 |
- #ifndef LS_STD_FILE_OPERATION_EXCEPTION_HPP
- #define LS_STD_FILE_OPERATION_EXCEPTION_HPP
- #include <exception>
- #include <string>
- namespace ls_std {
- class FileOperationException : public std::exception {
- public:
- explicit FileOperationException() = default;
- const char *what() const noexcept override {
- return "FileOperationException thrown - file operation failed!";
- }
- };
- }
- #endif
|