absl::ThrowStdRuntimeError

Throws a std::runtime_error with the given message, or terminates if exceptions are disabled.

Synopsis

Declared in <absl/base/throw_delegate.h>

[[noreturn]]
void
ThrowStdRuntimeError(std::string const& what_arg);

Return Value

NOTE

This function does not return.

Parameters

NameDescription
what_argThe exception message.