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

Function throw_domain_error

extras/catch_amalgamated.cpp:4076–4079  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4074 }
4075
4076 [[noreturn]]
4077 void throw_domain_error(std::string const& msg) {
4078 throw_exception(std::domain_error(msg));
4079 }
4080
4081 [[noreturn]]
4082 void throw_runtime_error(std::string const& msg) {

Callers

nothing calls this directly

Calls 1

throw_exceptionFunction · 0.70

Tested by

no test coverage detected