Skip to content

InscoperAPI/API/Shared/Exception/InscoperException.h

Namespaces

Name
Inscoper
Inscoper namespace.

Classes

Name
class Inscoper::InscoperException
InscoperException class is the custom exception class.

Source code

#ifndef INSCOPEREXCPETION_H
#define INSCOPEREXCPETION_H

#include <Global.h>

#include <exception>
// #include <stdexcept>
#include <string>

namespace Inscoper {

class INSCOPER_EXPORT InscoperException : public std::exception {
public:
  explicit InscoperException(const std::string &msg);

  virtual ~InscoperException() noexcept {
  }

  const char *what() const noexcept override;

private:
  InscoperException &operator=(const InscoperException &);

  std::string _message;
};

} // namespace Inscoper

#endif // INSCOPEREXCPETION_H

Updated on 2026-09-03 at 12:14:17 +0200