Skip to content

js: Throw GObject.NotImplementedError when requiring overriding

Marco Trevisan requested to merge 3v1n0/gnome-shell:not-implemented-error into master

Since version 1.50.0, gjs defines GObject.NotImplementedError for throwing errors when a "virtual" method that requires a subclass implementation is not defined.

So use this instead of a generic JS Error in such cases.

Merge request reports