aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson/token.cpp
diff options
context:
space:
mode:
authorlaplab <laplab@yandex-team.ru>2022-02-10 16:47:56 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:56 +0300
commit9968a46231e337bd46eca82216b40f8eadec679c (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/yson/token.cpp
parentf102186b7df1a2a26c35c81eeed5ae914484bdab (diff)
downloadydb-9968a46231e337bd46eca82216b40f8eadec679c.tar.gz
Restoring authorship annotation for <laplab@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yson/token.cpp')
-rw-r--r--library/cpp/yson/token.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/yson/token.cpp b/library/cpp/yson/token.cpp
index 7778ac887f..c8584c8c2e 100644
--- a/library/cpp/yson/token.cpp
+++ b/library/cpp/yson/token.cpp
@@ -188,11 +188,11 @@ namespace NYson {
void TToken::CheckType(ETokenType expectedType) const {
if (Type_ != expectedType) {
if (Type_ == ETokenType::EndOfStream) {
- ythrow TYsonException() << "Unexpected end of stream (ExpectedType: " << TokenTypeToString(expectedType) << ")";
+ ythrow TYsonException() << "Unexpected end of stream (ExpectedType: " << TokenTypeToString(expectedType) << ")";
} else {
- ythrow TYsonException() << "Unexpected token (Token: '" << ToString(*this)
- << "', Type: " << TokenTypeToString(Type_)
- << ", ExpectedType: " << TokenTypeToString(expectedType) << ")";
+ ythrow TYsonException() << "Unexpected token (Token: '" << ToString(*this)
+ << "', Type: " << TokenTypeToString(Type_)
+ << ", ExpectedType: " << TokenTypeToString(expectedType) << ")";
}
}
}