GLib.Error

const GLib = imports.gi.GLib;

let error = new GLib.Error(domain: GLib.Quark, code: Number(gint), message: String);
  

The <structname>GError</structname> structure contains information about an error that has occurred.