aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/IO/VarInt.cpp
blob: a4b249b01d761a7ce8d3de9fbf71d2c5468953a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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");
}

}