/*
 * Author:          Patrick-Christopher Mattulat
 * Co-Author:       Claude Sonnet 4.6 (LLM)
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2020-08-15
 * Changed:         2026-06-23
 *
 * */

#ifndef LS_STD_FILE_OPERATION_EXCEPTION_HPP
#define LS_STD_FILE_OPERATION_EXCEPTION_HPP

#include <ls-std/core/exception/Exception.hpp>
#include <ls-std/os/dynamic-goal.hpp>
#include <string>

/*
 * @doc: class(name: 'FileOperationException', package: 'core')
 * @doc: core.FileOperationException.description('This exception can be thrown in case a file could not be processed, like opened or being read.')
 * */

namespace ls::standard::core
{
  class LS_STD_DYNAMIC_GOAL FileOperationException : public ls::standard::core::Exception
  {
    public:

      FileOperationException();
      explicit FileOperationException(const ::std::string &_message);
      ~FileOperationException() noexcept override;

      [[nodiscard]] const char *what() const noexcept override;
  };
}

#endif
