Change error message in function if & ifNull

This commit is contained in:
hcz 2020-10-16 17:50:47 +08:00 committed by GitHub
parent e89a3b5d09
commit d95229317d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,7 +160,7 @@ struct NumIfImpl<A, B, NumberTraits::Error>
private:
[[noreturn]] static void throwError()
{
throw Exception("Invalid types of arguments 2 and 3 of if", ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);
throw Exception("Incompatible types of arguments corresponding to two conditional branches", ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);
}
public:
template <typename... Args> static void vectorVector(Args &&...) { throwError(); }