Optionalmessage: stringOptionalmessage: stringOptionaloptions: ErrorOptionsOptionalcauseOptionalstackChecks if this error matches a GLib error domain and code.
Added to the global Error prototype by the GLib override so that
e.matches(Ns.FooError, Ns.FooError.SOME_CODE) works without an
instanceof check. Always returns false for standard JavaScript
errors; only GLib.Error instances provide a meaningful implementation.
A GLib error domain (error class constructor or quark)
The error code to match against
false for native JS errors, true if a GLib.Error matches
StaticisIndicates whether the argument provided is a built-in Error instance or not.
Use this to signify a function that must be overridden in an implementation of the interface.