dbus-error.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: LGPL-3.0-or-later OR BSD-3-Clause
2 /***************************************************************************
3  * Copyright (C) 2020 by Robert Middleton *
4  * robert.middleton@rm5248.com *
5  * *
6  * This file is part of the dbus-cxx library. *
7  ***************************************************************************/
8 #ifndef DBUSCXX_DBUS_ERROR_H
9 #define DBUSCXX_DBUS_ERROR_H
10 
11 /*****************************
12  * This file contains copy/pasted macros from the DBus reference implementation,
13  * but renamed to be DBUSCXX_ERROR to avoid any potential #define problems.
14  */
15 
17 #define DBUSCXX_ERROR_FAILED "org.freedesktop.DBus.Error.Failed"
19 #define DBUSCXX_ERROR_NO_MEMORY "org.freedesktop.DBus.Error.NoMemory"
21 #define DBUSCXX_ERROR_SERVICE_UNKNOWN "org.freedesktop.DBus.Error.ServiceUnknown"
23 #define DBUSCXX_ERROR_NAME_HAS_NO_OWNER "org.freedesktop.DBus.Error.NameHasNoOwner"
25 #define DBUSCXX_ERROR_NO_REPLY "org.freedesktop.DBus.Error.NoReply"
27 #define DBUSCXX_ERROR_IO_ERROR "org.freedesktop.DBus.Error.IOError"
29 #define DBUSCXX_ERROR_BAD_ADDRESS "org.freedesktop.DBus.Error.BadAddress"
31 #define DBUSCXX_ERROR_NOT_SUPPORTED "org.freedesktop.DBus.Error.NotSupported"
33 #define DBUSCXX_ERROR_LIMITS_EXCEEDED "org.freedesktop.DBus.Error.LimitsExceeded"
35 #define DBUSCXX_ERROR_ACCESS_DENIED "org.freedesktop.DBus.Error.AccessDenied"
37 #define DBUSCXX_ERROR_AUTH_FAILED "org.freedesktop.DBus.Error.AuthFailed"
39 #define DBUSCXX_ERROR_NO_SERVER "org.freedesktop.DBus.Error.NoServer"
45 #define DBUSCXX_ERROR_TIMEOUT "org.freedesktop.DBus.Error.Timeout"
47 #define DBUSCXX_ERROR_NO_NETWORK "org.freedesktop.DBus.Error.NoNetwork"
49 #define DBUSCXX_ERROR_ADDRESS_IN_USE "org.freedesktop.DBus.Error.AddressInUse"
51 #define DBUSCXX_ERROR_DISCONNECTED "org.freedesktop.DBus.Error.Disconnected"
53 #define DBUSCXX_ERROR_INVALID_ARGS "org.freedesktop.DBus.Error.InvalidArgs"
55 #define DBUSCXX_ERROR_FILE_NOT_FOUND "org.freedesktop.DBus.Error.FileNotFound"
57 #define DBUSCXX_ERROR_FILE_EXISTS "org.freedesktop.DBus.Error.FileExists"
59 #define DBUSCXX_ERROR_UNKNOWN_METHOD "org.freedesktop.DBus.Error.UnknownMethod"
61 #define DBUSCXX_ERROR_UNKNOWN_OBJECT "org.freedesktop.DBus.Error.UnknownObject"
63 #define DBUSCXX_ERROR_UNKNOWN_INTERFACE "org.freedesktop.DBus.Error.UnknownInterface"
65 #define DBUSCXX_ERROR_UNKNOWN_PROPERTY "org.freedesktop.DBus.Error.UnknownProperty"
67 #define DBUSCXX_ERROR_PROPERTY_READ_ONLY "org.freedesktop.DBus.Error.PropertyReadOnly"
72 #define DBUSCXX_ERROR_TIMED_OUT "org.freedesktop.DBus.Error.TimedOut"
74 #define DBUSCXX_ERROR_MATCH_RULE_NOT_FOUND "org.freedesktop.DBus.Error.MatchRuleNotFound"
76 #define DBUSCXX_ERROR_MATCH_RULE_INVALID "org.freedesktop.DBus.Error.MatchRuleInvalid"
78 #define DBUSCXX_ERROR_SPAWN_EXEC_FAILED "org.freedesktop.DBus.Error.Spawn.ExecFailed"
80 #define DBUSCXX_ERROR_SPAWN_FORK_FAILED "org.freedesktop.DBus.Error.Spawn.ForkFailed"
82 #define DBUSCXX_ERROR_SPAWN_CHILD_EXITED "org.freedesktop.DBus.Error.Spawn.ChildExited"
84 #define DBUSCXX_ERROR_SPAWN_CHILD_SIGNALED "org.freedesktop.DBus.Error.Spawn.ChildSignaled"
86 #define DBUSCXX_ERROR_SPAWN_FAILED "org.freedesktop.DBus.Error.Spawn.Failed"
88 #define DBUSCXX_ERROR_SPAWN_SETUP_FAILED "org.freedesktop.DBus.Error.Spawn.FailedToSetup"
90 #define DBUSCXX_ERROR_SPAWN_CONFIG_INVALID "org.freedesktop.DBus.Error.Spawn.ConfigInvalid"
92 #define DBUSCXX_ERROR_SPAWN_SERVICE_INVALID "org.freedesktop.DBus.Error.Spawn.ServiceNotValid"
94 #define DBUSCXX_ERROR_SPAWN_SERVICE_NOT_FOUND "org.freedesktop.DBus.Error.Spawn.ServiceNotFound"
96 #define DBUSCXX_ERROR_SPAWN_PERMISSIONS_INVALID "org.freedesktop.DBus.Error.Spawn.PermissionsInvalid"
98 #define DBUSCXX_ERROR_SPAWN_FILE_INVALID "org.freedesktop.DBus.Error.Spawn.FileInvalid"
100 #define DBUSCXX_ERROR_SPAWN_NO_MEMORY "org.freedesktop.DBus.Error.Spawn.NoMemory"
102 #define DBUSCXX_ERROR_UNIX_PROCESS_ID_UNKNOWN "org.freedesktop.DBus.Error.UnixProcessIdUnknown"
104 #define DBUSCXX_ERROR_INVALID_SIGNATURE "org.freedesktop.DBus.Error.InvalidSignature"
106 #define DBUSCXX_ERROR_INVALID_FILE_CONTENT "org.freedesktop.DBus.Error.InvalidFileContent"
108 #define DBUSCXX_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN "org.freedesktop.DBus.Error.SELinuxSecurityContextUnknown"
110 #define DBUSCXX_ERROR_ADT_AUDIT_DATA_UNKNOWN "org.freedesktop.DBus.Error.AdtAuditDataUnknown"
112 #define DBUSCXX_ERROR_OBJECT_PATH_IN_USE "org.freedesktop.DBus.Error.ObjectPathInUse"
115 #define DBUSCXX_ERROR_INCONSISTENT_MESSAGE "org.freedesktop.DBus.Error.InconsistentMessage"
119 #define DBUSCXX_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED "org.freedesktop.DBus.Error.InteractiveAuthorizationRequired"
120 
121 #endif /* DBUSCXX_DBUS_ERROR_H */