mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
9 lines
138 B
C++
9 lines
138 B
C++
#include <base/throwError.h>
|
|
#include <stdexcept>
|
|
|
|
|
|
[[noreturn]] void throwError(const char * err)
|
|
{
|
|
throw std::runtime_error(err);
|
|
}
|