#include "tensorstore/util/status_builder.h"
absl::StatusCode tensorstore::StatusBuilder::code() const;

Returns the status code of the underlying status, or the overridden code if one has been set.