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

Method DriverException

cpp/src/arrow/flight/sql/odbc/odbc_impl/exceptions.cc:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24namespace arrow::flight::sql::odbc {
25
26DriverException::DriverException(std::string message, std::string sql_state,
27 int32_t native_error)
28 : msg_text_(std::move(message)),
29 sql_state_(std::move(sql_state)),
30 native_error_(native_error) {}
31
32const char* DriverException::what() const throw() { return msg_text_.c_str(); }
33const std::string& DriverException::GetMessageText() const { return msg_text_; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected