Arkulib
InvalidAccessArgumentException.hpp
Go to the documentation of this file.
1
9#pragma once
10
11#include <stdexcept>
12
13namespace Arkulib::Exceptions {
17 class InvalidAccessArgument : public std::invalid_argument {
18 public:
19 inline InvalidAccessArgument() : std::invalid_argument(
20 "The parameter must be 0 (numerator) or 1 (denominator).") {}
21 };
22}
An exception to handle call of unwanted argument offset.