Arkulib
DivideByZeroException.hpp
Go to the documentation of this file.
1
9#pragma once
10
11#include <stdexcept>
12
13namespace Arkulib::Exceptions {
17 class DivideByZeroException : public std::runtime_error {
18 public:
19 inline DivideByZeroException() : std::runtime_error("Denominator must not be null") {}
20 };
21}
An exception to handle divide by 0.