Index: Source/bindings/templates/union.cpp |
diff --git a/Source/bindings/templates/union.cpp b/Source/bindings/templates/union.cpp |
index 3c9fbd493870146dd4c5802f219655c46033ed48..bd48a281609ab9fa32b83bb3e949b2d7bf583816 100644 |
--- a/Source/bindings/templates/union.cpp |
+++ b/Source/bindings/templates/union.cpp |
@@ -133,7 +133,7 @@ void V8{{container.cpp_class}}::toImpl(v8::Isolate* isolate, v8::Handle<v8::Valu |
{% else %} |
{# 19. TypeError #} |
- exceptionState.throwTypeError("Not a valid union member."); |
+ exceptionState.throwTypeError("The provided value is not of type '{{container.type_string}}'"); |
{% endif %} |
} |