Note to self: need to properly integrate our exceptions with JS
authorTim Horton <hortont424@gmail.com>
Wed, 6 Jan 2010 05:04:07 +0000 (00:04 -0500)
committerTim Horton <hortont424@gmail.com>
Wed, 6 Jan 2010 05:04:07 +0000 (00:04 -0500)
libseed/seed-exceptions.c

index 565358a..5c72a10 100644 (file)
@@ -64,6 +64,9 @@ seed_make_exception (JSContextRef ctx,
       g_free (mes);
     }
 
+  // TODO: needs to create a global class named 'name', and this needs to
+  // be an instance of it, for integration with normal JS!
+
   exception_obj = JSObjectMake (ctx, 0, NULL);
   seed_object_set_property (ctx, exception_obj, "message", js_message_ref);
   seed_object_set_property (ctx, exception_obj, "name", js_name_ref);