R-Type  1.0.1.0
Rewrite of the R-Type game with networking ability
Loading...
Searching...
No Matches
Exceptions.hpp
1/*
2** EPITECH PROJECT, 2023
3** Exceptions.hpp
4** File description:
5** Exceptions.hpp
6*/
7
8#ifndef URANUS_EXCEPTIONS_HPP
9#define URANUS_EXCEPTIONS_HPP
10
11#include "Core.hpp"
12
13namespace uranus::ex {
18 public:
23 explicit InvalidEntityIndex(const std::string &message) : Exception(message) {};
24 };
25} // namespace uranus::ex
26
27#endif // URANUS_EXCEPTIONS_HPP
This file is used to include some core files of the engine.
The exception class.
Definition: Core.hpp:31
Thrown when an entity has an invalid index.
Definition: Exceptions.hpp:17
InvalidEntityIndex(const std::string &message)
Construct a new Invalid Entity Index object.
Definition: Exceptions.hpp:23
The uranus exception namespace.
Definition: Core.hpp:27