Update src/Functions/substringIndex.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
This commit is contained in:
李扬 2023-06-29 10:19:28 +08:00 committed by GitHub
parent f049914c2f
commit 21ff69772c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ namespace
if (!isString(arguments[0]))
throw Exception(
ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT,
"Illegal type {} of first argument of function {}",
"Illegal type {} of first argument of function {}, String expected",
arguments[0]->getName(),
getName());