-
#include "tensorstore/util/status.h"
- TENSORSTORE_CHECK_OK(...);
Logs an error and terminates the program if the specified
absl::Status
is an error status.Note
This macro should be called with a single C++ expression. We use a variadic macro to allow calls like
TENSORSTORE_CHECK_OK(foo<1,2>())
.