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