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