33#define ICEBERG_CHECK_OR_DIE(condition, ...) \
35 if (!(condition)) [[unlikely]] { \
36 throw ::iceberg::IcebergError(std::format(__VA_ARGS__)); \
45 explicit IcebergError(
const std::string& what) : std::runtime_error(what) {}
Exception thrown when expression construction fails.
Definition exception.h:49
Base exception class for exceptions thrown by the Iceberg library.
Definition exception.h:43
Define symbol visibility macros for core Iceberg APIs.
Core Apache Iceberg C++ APIs.
Definition arrow_io_util.h:34