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
src
ArgumentHandling.cpp
Go to the documentation of this file.
1
/*
2
** EPITECH PROJECT, 2024
3
** my_zappy
4
** File description:
5
** Exception.cpp
6
*/
7
8
#include "
ArgumentHandling.hpp
"
9
10
namespace
Exception
11
{
12
ArgumentHandling::ArgumentHandling
(
const
std::string &msg) : _msg(msg)
13
{}
14
15
ArgumentHandling::~ArgumentHandling
()
16
{}
17
18
const
char
*
ArgumentHandling::what
() const noexcept
19
{
20
return
this->_msg.c_str();
21
}
22
}
ArgumentHandling.hpp
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