Zappy - Year end project 2
This is a project that Epitech asked us to create in order to allow us to reveiw the notions of the current year.
Loading...
Searching...
No Matches
ArgumentHandling.hpp
Go to the documentation of this file.
1/*
2** EPITECH PROJECT, 2024
3** my_zappy
4** File description:
5** Exception.hpp
6*/
7
8#pragma once
9
10#include <iostream>
11#include <stdexcept>
12
13namespace Exception
14{
15 class ArgumentHandling : public std::exception
16 {
17 public:
18 ArgumentHandling(const std::string &msg);
20 const char *what() const noexcept override;
21
22 private:
23 std::string _msg;
24 };
25}
ArgumentHandling(const std::string &msg)
const char * what() const noexcept override