FileOperationException.hpp 770 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-08-15
  6. * Changed: 2022-06-29
  7. *
  8. * */
  9. #ifndef LS_STD_FILE_OPERATION_EXCEPTION_HPP
  10. #define LS_STD_FILE_OPERATION_EXCEPTION_HPP
  11. #include <exception>
  12. #include <string>
  13. #include <ls_std/os/dynamic_goal.hpp>
  14. namespace ls
  15. {
  16. namespace std
  17. {
  18. namespace core
  19. {
  20. class DYNAMIC_GOAL FileOperationException : public ::std::exception
  21. {
  22. public:
  23. explicit FileOperationException() = default;
  24. const char *what() const noexcept override
  25. {
  26. return "FileOperationException thrown - file operation failed!";
  27. }
  28. };
  29. }
  30. }
  31. }
  32. #endif