absl::Status::raw_code

Returns a raw (canonical) error code corresponding to the enum value of google.rpc.Code definitions within https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto. These values could be out of the range of canonical absl::StatusCode enum values.

Synopsis

Declared in <absl/status/status.h>

int
raw_code() const;

Description

NOTE: This function should only be called when converting to an associated wire format. Use Status::code() for error handling.

Return Value

The raw error code.