MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / arithmetic_error

Class arithmetic_error

include/chaiscript/dispatchkit/boxed_number.hpp:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 namespace exception
31 {
32 struct arithmetic_error : std::runtime_error
33 {
34 explicit arithmetic_error(const std::string& reason) : std::runtime_error("Arithmetic error: " + reason) {}
35 arithmetic_error(const arithmetic_error &) = default;
36 ~arithmetic_error() noexcept override = default;
37 };
38 }
39}
40

Callers 1

check_divide_by_zeroMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected