1234567891011121314151617181920212223242526272829 |
- #ifndef FILE_NOT_FOUND_EXCEPTION_HPP
- #define FILE_NOT_FOUND_EXCEPTION_HPP
- #include <exception>
- #include <string>
- #include <cstring>
- namespace ls_std {
- class FileNotFoundException : public std::exception {
- public:
- FileNotFoundException() = default;
- const char *what() const noexcept override {
- return "file not found!";
- };
- };
- }
- #endif
|