mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 09:52:38 +00:00
17 lines
264 B
C++
17 lines
264 B
C++
|
#include <IO/VarInt.h>
|
||
|
#include <Common/Exception.h>
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
namespace ErrorCodes
|
||
|
{
|
||
|
extern const int ATTEMPT_TO_READ_AFTER_EOF;
|
||
|
}
|
||
|
|
||
|
void throwReadAfterEOF()
|
||
|
{
|
||
|
throw Exception(ErrorCodes::ATTEMPT_TO_READ_AFTER_EOF, "Attempt to read after eof");
|
||
|
}
|
||
|
|
||
|
}
|