23 using heavyai::ErrorCode;
33 : std::runtime_error(std::string(
"Query execution failed with error code ") +
40 : std::runtime_error(std::string(
"Query execution failed with error code ") +
47 : std::runtime_error(std::string(
"Query execution failed with error code ") +
53 : std::runtime_error(std::string(
"Query execution failed with error code ") +
59 : std::runtime_error(
"Query execution failed with error code " +
70 if (
size_t(error_code) <
size_t(ErrorCode::N_)) {
71 return to_string(static_cast<ErrorCode>(error_code));
QueryExecutionError(const ErrorCode error_code, const std::string &e, const QueryExecutionProperties &execution_properties)
boost::optional< QueryExecutionProperties > execution_props_
int32_t getErrorCode() const
static std::string toString(int32_t error_code)
QueryExecutionError(const int32_t error_code)
bool hasErrorCode(ErrorCode const ec) const
QueryExecutionError(const ErrorCode error_code, const QueryExecutionProperties &execution_properties)
QueryEngine enum classes with minimal #include files.
QueryExecutionError(const ErrorCode error_code)
heavyai::QueryDescriptionType query_type
bool wasMultifragKernelLaunch() const
QueryExecutionError(const ErrorCode error_code, const std::string &e)
bool was_multifrag_kernel_launch