libnm-core, core: move NMManagerError to nm-errors
authorDan Winship <danw@gnome.org>
Wed, 15 Oct 2014 19:27:25 +0000 (15:27 -0400)
committerDan Winship <danw@gnome.org>
Wed, 22 Oct 2014 12:29:09 +0000 (08:29 -0400)
commit862d4efeac8b340205b3cccdfd56b3c8c0279227
tree0ee29371424207b78faa1b78530153cc33162bcc
parentfd7b9df47d6598af91b76af64584039ddc5037dc
libnm-core, core: move NMManagerError to nm-errors

Move the definition of NMManagerError to nm-errors, register it with
D-Bus, and verify in the tests that it maps correctly.

NM_MANAGER_ERROR_INTERNAL gets renamed to NM_MANAGER_ERROR_FAILED for
consistency. NM_MANAGER_ERROR_UNMANAGED_DEVICE is dropped since that
name doesn't really describe the one place it was previously used in.
NM_MANAGER_ERROR_SYSTEM_CONNECTION is dropped because it was't being
used. NM_MANAGER_ERROR_UNSUPPORTED_CONNECTION_TYPE is dropped because
it can be replaced with an NM_CONNECTION_ERROR.
NM_MANAGER_ERROR_AUTOCONNECT_NOT_ALLOWED is turned into the more
generic NM_MANAGER_ERROR_CONNECTION_NOT_AVAILABLE.

Also, remove the <tp:possible-errors> sections from nm-manager.xml,
since they were completely out of date.
clients/cli/devices.c
introspection/nm-manager.xml
libnm-core/nm-errors.c
libnm-core/nm-errors.h
libnm/libnm.ver
src/nm-manager.c
src/nm-manager.h