exception.hpp 290 B

1234567891011121314151617
  1. #pragma once
  2. #include <exception>
  3. #include <string>
  4. namespace knacki::cd {
  5. class ArgumentException: public std::exception
  6. {
  7. public:
  8. ArgumentException(const std::string &arg);
  9. const std::string &GetWrongArg() const;
  10. protected:
  11. const std::string arg;
  12. };
  13. }