GLib.Error.prototype.matches
function matches(domain: GLib.Quark, code: Number(gint)): Boolean {
// Gjs wrapper for g_error_matches()
}
Returns true if error matches domain and code, false otherwise. In particular, when error is null, false will be returned.
- domain
an error domain
- code
an error code
- Returns
whether error has domain and code