Files
2021-06-17 12:07:07 +02:00

34 lines
681 B
C++

/*
** 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)
{
}
RAY::Exception::WrongInputError::WrongInputError(const std::string &what):
RayError(what)
{
}
RAY::Exception::ResourceNotFound::ResourceNotFound(const std::string &path):
RayError(path + " couldn't be loaded")
{
}