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
src
gui_client
include
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
13
namespace
Exception
14
{
15
class
ArgumentHandling
:
public
std::exception
16
{
17
public
:
18
ArgumentHandling
(
const
std::string &msg);
19
~ArgumentHandling
();
20
const
char
*
what
()
const
noexcept
override
;
21
22
private
:
23
std::string _msg;
24
};
25
}
Exception::ArgumentHandling
Definition
ArgumentHandling.hpp:16
Exception::ArgumentHandling::ArgumentHandling
ArgumentHandling(const std::string &msg)
Definition
ArgumentHandling.cpp:12
Exception::ArgumentHandling::~ArgumentHandling
~ArgumentHandling()
Definition
ArgumentHandling.cpp:15
Exception::ArgumentHandling::what
const char * what() const noexcept override
Definition
ArgumentHandling.cpp:18
Exception
Definition
ArgumentHandling.hpp:14