Gtk.PrintOperation.prototype.get_error

function get_error():void {
    // Gjs wrapper for gtk_print_operation_get_error()
}

Call this when the result of a print operation is Gtk.PrintOperationResult.error, either as returned by Gtk.run, or in the Gtk.done signal handler. The returned GLib.Error will contain more details on what went wrong.

Since 2.10