MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/cloud-spanner-emulator / ReplacingBuiltInFunction

Function ReplacingBuiltInFunction

common/errors.cc:4297–4305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4295}
4296
4297absl::Status ReplacingBuiltInFunction(absl::string_view operation_string,
4298 absl::string_view type_kind,
4299 absl::string_view built_in_name) {
4300 return absl::Status(
4301 absl::StatusCode::kFailedPrecondition,
4302 absl::Substitute("Cannot $0 a $1 with the same name as builtin function "
4303 "`$2`. This may be supported in a future release.",
4304 operation_string, type_kind, built_in_name));
4305}
4306
4307absl::Status FunctionTypeMismatch(absl::string_view function_name,
4308 absl::string_view expected_type,

Callers 2

CreateFunctionMethod · 0.85
TEST_PFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected