[#absl-Status-raw_code] = xref:absl.adoc[absl]::xref:absl/Status.adoc[Status]::raw_code :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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. [.small]#Created with https://www.mrdocs.com[MrDocs]#