mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +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);
|
|
}
|