Sets a non-canonical error code on the result status.
Declared in <absl/status/status_builder.h>
template<typename Enum>
StatusBuilder&
SetErrorCode(Enum code) &
requires std::is_void_v<decltype(AbslInternalSetErrorCode(*this, code))>;
INTERNAL API. NOT FOR PUBLIC USE.
*this to allow method chaining.
| Name | Description |
|---|---|
| code | The error code to set. |