Arkulib
IntTypeGivenException.hpp
Go to the documentation of this file.
1
9#pragma once
10
11#include <stdexcept>
12
13namespace Arkulib::Exceptions {
17 class IntTypeGivenException : public std::invalid_argument {
18 public:
19 inline IntTypeGivenException() : std::invalid_argument(
20 "The type given to a erational multiplier must not be a floating point.") {}
21 };
22}
An exception to handle ERational multiplier in a non floating point type.