OmniSciDB  eee9fa949c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ArrowUtil.h File Reference
#include "arrow/status.h"
#include "arrow/util/macros.h"
#include "Shared/likely.h"
+ Include dependency graph for ArrowUtil.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.




void arrow_status_throw (const ::arrow::Status &s)
void arrow_status_thrift_throw (const ::arrow::Status &s)

Macro Definition Documentation

Function Documentation

void arrow_status_thrift_throw ( const ::arrow::Status &  s)
void arrow_status_throw ( const ::arrow::Status &  s)

Definition at line 24 of file ArrowUtil.cpp.

24  {
25  std::string message = s.ToString();
26  switch (s.code()) {
27  case ::arrow::StatusCode::OutOfMemory:
28  throw OutOfMemory(message);
29  default:
30  throw std::runtime_error(message);
31  }
32 }