add exception class

This commit is contained in:
arthur.jamet
2021-05-23 17:43:34 +02:00
parent 57ebac7813
commit 1f7b19b345
6 changed files with 95 additions and 7 deletions

View File

@@ -0,0 +1,23 @@
/*
** EPITECH PROJECT, 2021
** Bomberman
** File description:
** RayError
*/
#include "RayError.hpp"
RAY::Exception::RayError::RayError(const std::string &expectionMessage):
runtime_error(expectionMessage)
{
}
RAY::Exception::NotSupportedError::NotSupportedError(const std::string &expectionMessage):
RayError(expectionMessage)
{
}
RAY::Exception::NotCompatibleError::NotCompatibleError(const std::string &expectionMessage):
RayError(expectionMessage)
{
}