absl::ResourceExhaustedError

Creates a status with the kResourceExhausted error code and message.

Synopses

Declared in <absl/status/status.h>

Creates a status with the kResourceExhausted error code and message.

Status
ResourceExhaustedError(
    std::string_view message,
    absl::SourceLocation loc = SourceLocation::current());
» more...

Creates a status with the kResourceExhausted error code and message.

template<
    typename String,
    typename = /* implementation-defined */::EnableIfString<String>>
Status
ResourceExhaustedError(
    String&& message,
    absl::SourceLocation loc = SourceLocation::current());
» more...

Return Value

A status with the kResourceExhausted error code.

Parameters

NameDescription
messageThe error message.
locThe source location of the callsite.