Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 7380cc447e46f8a8aa6654458b11603fdcfdcb1f..157d9139de76130377b28f71ed564dfe4519d08c 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6986,7 +6986,7 @@ DEFINE_ERROR(Error) |
#undef DEFINE_ERROR |
-Local<Message> Exception::GetMessage(Handle<Value> exception) { |
+Local<Message> Exception::CreateMessage(Handle<Value> exception) { |
i::Handle<i::Object> obj = Utils::OpenHandle(*exception); |
if (!obj->IsHeapObject()) return Local<Message>(); |
i::Isolate* isolate = i::HeapObject::cast(*obj)->GetIsolate(); |