Raytracer
Loading...
Searching...
No Matches
Cyclic.hpp
1#include <string>
2#include "exceptions/Base.hpp"
3
4#ifndef __CYCLIC_EXCEPTION_HPP__
5 #define __CYCLIC_EXCEPTION_HPP__
6
7namespace Raytracer::Exceptions
8{
9 class CyclicException : public Base {
10 public:
11 CyclicException(const std::string &message)
12 : Base("Cyclic error: " + message)
13 {
14 }
15 virtual ~CyclicException() = default;
16 };
17} // namespace Raytracer::Exceptions
18
19#endif /* __CYCLIC_EXCEPTION_HPP__ */
Definition Base.hpp:9