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

#ifndef LS_STD_INCOMPLETE_JSON_EXCEPTION_HPP
#define LS_STD_INCOMPLETE_JSON_EXCEPTION_HPP

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

/*
 * @doc: class(name: 'IncompleteJsonException', package: 'core')
 * @doc: core.IncompleteJsonException.description('This exception can be thrown when a passed JSON is incomplete - e.g. if a key is missing.')
 * */

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

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

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

#endif
