Babel
1
The voip software that only works on your local network
Loading...
Searching...
No Matches
NotFound.hpp
Go to the documentation of this file.
1
/*
2
** EPITECH PROJECT, 2024
3
** rtype (Workspace)
4
** File description:
5
** NotFound.hpp
6
*/
7
14
#pragma once
15
#include <string>
16
#include <exception>
17
18
#include "
Recoded.hpp
"
19
20
namespace
CustomExceptions
21
{
25
class
FileNotFound
:
public
std::exception {
26
public
:
32
FileNotFound
(
const
std::string &error =
""
);
36
~FileNotFound
();
41
const
char
*
what
()
const
noexcept
;
42
43
private
:
44
std::string _msg;
45
const
char
*_buffer;
46
};
47
}
Recoded.hpp
Aggregates headers from the Recoded folder.
CustomExceptions::FileNotFound
Exception class for missing files.
Definition
NotFound.hpp:25
CustomExceptions::FileNotFound::what
const char * what() const noexcept
Retrieves the error message.
Definition
NotFound.cpp:28
CustomExceptions::FileNotFound::FileNotFound
FileNotFound(const std::string &error="")
Construct a new FileNotFound object.
Definition
NotFound.cpp:18
CustomExceptions::FileNotFound::~FileNotFound
~FileNotFound()
Destroy the FileNotFound object.
Definition
NotFound.cpp:26
CustomExceptions
Definition
Failed.cpp:17
include
CustomExceptions
NotFound.hpp
Generated on Sun Feb 16 2025 23:01:55 for Babel by
1.12.0