diff options
author | laplab <laplab@yandex-team.ru> | 2022-02-10 16:47:56 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:56 +0300 |
commit | 9968a46231e337bd46eca82216b40f8eadec679c (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/yson/token.cpp | |
parent | f102186b7df1a2a26c35c81eeed5ae914484bdab (diff) | |
download | ydb-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.cpp | 8 |
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) << ")"; } } } |