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:39 +08:00 committed by GitHub
parent 21ff69772c
commit a005b5d0c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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