R-Type  2
Doom but in better
Loading...
Searching...
No Matches
NotInitialised.hpp
Go to the documentation of this file.
1/*
2** EPITECH PROJECT, 2024
3** rtype (Workspace)
4** File description:
5** NotInitialised.hpp
6*/
7
14#pragma once
15#include <string>
16#include <exception>
17
18#include "Recoded.hpp"
19
20
21namespace CustomExceptions
22{
23
30 class MusicNotInitialised : public std::exception {
31 public:
38 MusicNotInitialised(const std::string &exceptionDetail = "");
48 const char *what() const noexcept;
49
50 private:
51 std::string _msg;
52 const char *_buffer;
53 };
54
55}
This is an agglomerator in which all the files from Recoded folder will be included.
This is the class in charge of informing the user that they tried to play music from a class that has...
~MusicNotInitialised()
Destroy the Music Not Initialised object.
const char * what() const noexcept
Retrieves the error message.
MusicNotInitialised(const std::string &exceptionDetail="")
Construct a new Music Not Initialised object.