MCPcopy Create free account
hub / github.com/catchorg/Catch2 / throw_logic_error

Function throw_logic_error

extras/catch_amalgamated.cpp:4071–4074  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4069#endif
4070
4071 [[noreturn]]
4072 void throw_logic_error(std::string const& msg) {
4073 throw_exception(std::logic_error(msg));
4074 }
4075
4076 [[noreturn]]
4077 void throw_domain_error(std::string const& msg) {

Callers

nothing calls this directly

Calls 1

throw_exceptionFunction · 0.70

Tested by

no test coverage detected