Lines Matching refs:error
36 convert_error_to_exit_code (DBusError *error)
38 if (dbus_error_has_name (error, DBUS_ERROR_NO_MEMORY))
41 if (dbus_error_has_name (error, DBUS_ERROR_SPAWN_CONFIG_INVALID))
44 if (dbus_error_has_name (error, DBUS_ERROR_SPAWN_SETUP_FAILED))
47 if (dbus_error_has_name (error, DBUS_ERROR_SPAWN_SERVICE_INVALID))
50 if (dbus_error_has_name (error, DBUS_ERROR_SPAWN_PERMISSIONS_INVALID))
53 if (dbus_error_has_name (error, DBUS_ERROR_SPAWN_FILE_INVALID))
56 if (dbus_error_has_name (error, DBUS_ERROR_SPAWN_EXEC_FAILED))
59 if (dbus_error_has_name (error, DBUS_ERROR_INVALID_ARGS))
62 if (dbus_error_has_name (error, DBUS_ERROR_SPAWN_CHILD_SIGNALED))
66 fprintf(stderr, "%s: %s\n", error->name, error->message);
74 DBusError error;
90 dbus_error_init (&error);
91 if (!run_launch_helper (argv[1], &error))
93 /* convert error to an exit code */
94 retval = convert_error_to_exit_code (&error);
95 dbus_error_free (&error);