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

Synopses

Declared in <absl/base/throw_delegate.h>

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

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

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

[[noreturn]]
void
ThrowStdDomainError(char const* what_arg);

Return Value

Note

This function does not return.

Parameters

Name

Description

what_arg

The exception message.

Created with MrDocs