Type Definition opentitanlib::util::status::RawStatusCode

pub type RawStatusCode = u32;
Expand description

This enum was taken directly from the abseil-cpp library: https://github.com/abseil/abseil-cpp/blob/master/absl/status/status.h

These error codes serve as general error classifications which are used to build up more specific error codes.

DO NOT USE THESE CODES DIRECTLY. Use these codes to build per-module error codes in error.h. Although these error codes are generally used at Google by RPC servers, the advice about how to use them and how to categorize errors is generally sound.