diff options
author | ya-at <175656937+ya-at@users.noreply.github.com> | 2024-09-06 20:44:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-06 17:44:04 +0000 |
commit | 94836dd0d44eea3983702310062663dd8c1564b0 (patch) | |
tree | 1d933a4b0fd7c3fad0f09e552787881806e5e1fb | |
parent | 3acd7256c6dc37625356cc999f28c8e5503fe2c0 (diff) | |
download | ydb-94836dd0d44eea3983702310062663dd8c1564b0.tar.gz |
Fix typo (#7564)
-rw-r--r-- | ydb/public/lib/ydb_cli/common/csv_parser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ydb/public/lib/ydb_cli/common/csv_parser.cpp b/ydb/public/lib/ydb_cli/common/csv_parser.cpp index 072ce89cdc5..40368a08007 100644 --- a/ydb/public/lib/ydb_cli/common/csv_parser.cpp +++ b/ydb/public/lib/ydb_cli/common/csv_parser.cpp @@ -46,7 +46,7 @@ public: } return static_cast<T>(value); } catch (std::exception& e) { - throw TCsvParseException() << "Expected " << Parser.GetPrimitive() << " value, recieved: \"" << token << "\"."; + throw TCsvParseException() << "Expected " << Parser.GetPrimitive() << " value, received: \"" << token << "\"."; } } @@ -276,7 +276,7 @@ public: if (token == "false") { return false; } - throw TCsvParseException() << "Expected bool value: \"true\" or \"false\", recieved: \"" << token << "\"."; + throw TCsvParseException() << "Expected bool value: \"true\" or \"false\", received: \"" << token << "\"."; } void EnsureNull(TStringBuf token) const { @@ -284,7 +284,7 @@ public: throw TCsvParseException() << "Expected null value instead of \"" << token << "\", but null value is not set."; } if (token != NullValue) { - throw TCsvParseException() << "Expected null value: \"" << NullValue << "\", recieved: \"" << token << "\"."; + throw TCsvParseException() << "Expected null value: \"" << NullValue << "\", received: \"" << token << "\"."; } } @@ -446,4 +446,4 @@ TType TCsvParser::GetColumnsType() const { } } -}
\ No newline at end of file +} |