mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-21 13:55:10 +00:00
add exception class
This commit is contained in:
23
lib/Ray/sources/Exceptions/RayError.cpp
Normal file
23
lib/Ray/sources/Exceptions/RayError.cpp
Normal 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)
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user