public JsObject CreateError(JsObject constructor, string message) { return constructor.Construct( _runtime, new[] { (object)message } ); }