Throw a std::logic_error exception supplying the specified message as the sole argument to its constructor.
std::logic_error
message
Declared in <bslstl_stdexceptutil.h>
<bslstl_stdexceptutil.h>
[[noreturn]] static void throwLogicError(char const* message);
This function does not return.