MCPcopy Create free account
hub / github.com/apache/arrow / ThrowIfNotOK

Function ThrowIfNotOK

cpp/src/arrow/flight/sql/odbc/odbc_impl/util.h:68–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 ArrayConvertTask;
67
68inline void ThrowIfNotOK(const Status& status) {
69 if (!status.ok()) {
70 throw DriverException(status.message());
71 }
72}
73
74template <typename T, typename AttributeTypeT>
75inline bool CheckIfSetToOnlyValidValue(const AttributeTypeT& value, T allowed_value) {

Callers 15

LoadInfoFromServerMethod · 0.85
GetTablesForGenericUseFunction · 0.85
FlightSqlResultSetMethod · 0.85
ConnectMethod · 0.85
BuildLocationMethod · 0.85
GetConverterFunction · 0.85

Calls 2

DriverExceptionClass · 0.85
okMethod · 0.45

Tested by 1

MakeDecimalVectorFunction · 0.68