Returns true if status has the kResourceExhausted error code.

Synopsis

Declared in <absl/status/status.h>

[[nodiscard]]
bool
IsResourceExhausted(Status const& status);

Return Value

true if status matches the associated error code.

Note

The return value should not be discarded.

Parameters

Name

Description

status

The status to test.

Created with MrDocs