1SD-BUS-ERRORS(3)                 sd-bus-errors                SD-BUS-ERRORS(3)
2
3
4

NAME

6       sd-bus-errors, SD_BUS_ERROR_FAILED, SD_BUS_ERROR_NO_MEMORY,
7       SD_BUS_ERROR_SERVICE_UNKNOWN, SD_BUS_ERROR_NAME_HAS_NO_OWNER,
8       SD_BUS_ERROR_NO_REPLY, SD_BUS_ERROR_IO_ERROR, SD_BUS_ERROR_BAD_ADDRESS,
9       SD_BUS_ERROR_NOT_SUPPORTED, SD_BUS_ERROR_LIMITS_EXCEEDED,
10       SD_BUS_ERROR_ACCESS_DENIED, SD_BUS_ERROR_AUTH_FAILED,
11       SD_BUS_ERROR_NO_SERVER, SD_BUS_ERROR_TIMEOUT, SD_BUS_ERROR_NO_NETWORK,
12       SD_BUS_ERROR_ADDRESS_IN_USE, SD_BUS_ERROR_DISCONNECTED,
13       SD_BUS_ERROR_INVALID_ARGS, SD_BUS_ERROR_FILE_NOT_FOUND,
14       SD_BUS_ERROR_FILE_EXISTS, SD_BUS_ERROR_UNKNOWN_METHOD,
15       SD_BUS_ERROR_UNKNOWN_OBJECT, SD_BUS_ERROR_UNKNOWN_INTERFACE,
16       SD_BUS_ERROR_UNKNOWN_PROPERTY, SD_BUS_ERROR_PROPERTY_READ_ONLY,
17       SD_BUS_ERROR_UNIX_PROCESS_ID_UNKNOWN, SD_BUS_ERROR_INVALID_SIGNATURE,
18       SD_BUS_ERROR_INCONSISTENT_MESSAGE, SD_BUS_ERROR_MATCH_RULE_NOT_FOUND,
19       SD_BUS_ERROR_MATCH_RULE_INVALID,
20       SD_BUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED - Standard D-Bus error
21       names
22

SYNOPSIS

24       #include <systemd/sd-bus.h>
25
26       #define SD_BUS_ERROR_FAILED                     "org.freedesktop.DBus.Error.Failed"
27       #define SD_BUS_ERROR_NO_MEMORY                  "org.freedesktop.DBus.Error.NoMemory"
28       #define SD_BUS_ERROR_SERVICE_UNKNOWN            "org.freedesktop.DBus.Error.ServiceUnknown"
29       #define SD_BUS_ERROR_NAME_HAS_NO_OWNER          "org.freedesktop.DBus.Error.NameHasNoOwner"
30       #define SD_BUS_ERROR_NO_REPLY                   "org.freedesktop.DBus.Error.NoReply"
31       #define SD_BUS_ERROR_IO_ERROR                   "org.freedesktop.DBus.Error.IOError"
32       #define SD_BUS_ERROR_BAD_ADDRESS                "org.freedesktop.DBus.Error.BadAddress"
33       #define SD_BUS_ERROR_NOT_SUPPORTED              "org.freedesktop.DBus.Error.NotSupported"
34       #define SD_BUS_ERROR_LIMITS_EXCEEDED            "org.freedesktop.DBus.Error.LimitsExceeded"
35       #define SD_BUS_ERROR_ACCESS_DENIED              "org.freedesktop.DBus.Error.AccessDenied"
36       #define SD_BUS_ERROR_AUTH_FAILED                "org.freedesktop.DBus.Error.AuthFailed"
37       #define SD_BUS_ERROR_NO_SERVER                  "org.freedesktop.DBus.Error.NoServer"
38       #define SD_BUS_ERROR_TIMEOUT                    "org.freedesktop.DBus.Error.Timeout"
39       #define SD_BUS_ERROR_NO_NETWORK                 "org.freedesktop.DBus.Error.NoNetwork"
40       #define SD_BUS_ERROR_ADDRESS_IN_USE             "org.freedesktop.DBus.Error.AddressInUse"
41       #define SD_BUS_ERROR_DISCONNECTED               "org.freedesktop.DBus.Error.Disconnected"
42       #define SD_BUS_ERROR_INVALID_ARGS               "org.freedesktop.DBus.Error.InvalidArgs"
43       #define SD_BUS_ERROR_FILE_NOT_FOUND             "org.freedesktop.DBus.Error.FileNotFound"
44       #define SD_BUS_ERROR_FILE_EXISTS                "org.freedesktop.DBus.Error.FileExists"
45       #define SD_BUS_ERROR_UNKNOWN_METHOD             "org.freedesktop.DBus.Error.UnknownMethod"
46       #define SD_BUS_ERROR_UNKNOWN_OBJECT             "org.freedesktop.DBus.Error.UnknownObject"
47       #define SD_BUS_ERROR_UNKNOWN_INTERFACE          "org.freedesktop.DBus.Error.UnknownInterface"
48       #define SD_BUS_ERROR_UNKNOWN_PROPERTY           "org.freedesktop.DBus.Error.UnknownProperty"
49       #define SD_BUS_ERROR_PROPERTY_READ_ONLY         "org.freedesktop.DBus.Error.PropertyReadOnly"
50       #define SD_BUS_ERROR_UNIX_PROCESS_ID_UNKNOWN    "org.freedesktop.DBus.Error.UnixProcessIdUnknown"
51       #define SD_BUS_ERROR_INVALID_SIGNATURE          "org.freedesktop.DBus.Error.InvalidSignature"
52       #define SD_BUS_ERROR_INCONSISTENT_MESSAGE       "org.freedesktop.DBus.Error.InconsistentMessage"
53       #define SD_BUS_ERROR_MATCH_RULE_NOT_FOUND       "org.freedesktop.DBus.Error.MatchRuleNotFound"
54       #define SD_BUS_ERROR_MATCH_RULE_INVALID         "org.freedesktop.DBus.Error.MatchRuleInvalid"
55       #define SD_BUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED \
56                                                       "org.freedesktop.DBus.Error.InteractiveAuthorizationRequired"
57

DESCRIPTION

59       In addition to the error names user programs define, D-Bus knows a
60       number of generic, standardized error names that are listed below.
61
62       In addition to this list, in sd-bus, the special error namespace
63       "System.Error."  is used to map arbitrary Linux system errors (as
64       defined by errno(3)) to D-Bus errors and back. For example, the error
65       EUCLEAN is mapped to "System.Error.EUCLEAN" and back.
66
67       SD_BUS_ERROR_FAILED
68           A generic error indication. See the error message for further
69           details. This error name should be avoided, in favor of a more
70           expressive error name.
71
72       SD_BUS_ERROR_NO_MEMORY
73           A memory allocation failed, and the requested operation could not
74           be completed.
75
76       SD_BUS_ERROR_SERVICE_UNKNOWN
77           The contacted bus service is unknown and cannot be activated.
78
79       SD_BUS_ERROR_NAME_HAS_NO_OWNER
80           The specified bus service name currently has no owner.
81
82       SD_BUS_ERROR_NO_REPLY
83           A message did not receive a reply. This error is usually generated
84           after a timeout.
85
86       SD_BUS_ERROR_IO_ERROR
87           Generic input/output error, for example when accessing a socket or
88           other I/O context.
89
90       SD_BUS_ERROR_BAD_ADDRESS
91           The specified D-Bus bus address string is malformed.
92
93       SD_BUS_ERROR_NOT_SUPPORTED
94           The requested operation is not supported on the local system.
95
96       SD_BUS_ERROR_LIMITS_EXCEEDED
97           Some limited resource has been exhausted.
98
99       SD_BUS_ERROR_ACCESS_DENIED
100           Access to a resource has been denied due to security restrictions.
101
102       SD_BUS_ERROR_AUTH_FAILED
103           Authentication did not complete successfully.
104
105       SD_BUS_ERROR_NO_SERVER
106           Unable to connect to the specified server.
107
108       SD_BUS_ERROR_TIMEOUT
109           An operation timed out. Note that method calls which timeout
110           generate a SD_BUS_ERROR_NO_REPLY.
111
112       SD_BUS_ERROR_NO_NETWORK
113           No network available to execute requested network operation on.
114
115       SD_BUS_ERROR_ADDRESS_IN_USE
116           The specified network address is already being listened on.
117
118       SD_BUS_ERROR_DISCONNECTED
119           The connection has been terminated.
120
121       SD_BUS_ERROR_INVALID_ARGS
122           One or more invalid arguments have been passed.
123
124       SD_BUS_ERROR_FILE_NOT_FOUND
125           The requested file could not be found.
126
127       SD_BUS_ERROR_FILE_EXISTS
128           The requested file already exists.
129
130       SD_BUS_ERROR_UNKNOWN_METHOD
131           The requested method does not exist in the selected interface.
132
133       SD_BUS_ERROR_UNKNOWN_OBJECT
134           The requested object does not exist in the selected service.
135
136       SD_BUS_ERROR_UNKNOWN_INTERFACE
137           The requested interface does not exist on the selected object.
138
139       SD_BUS_ERROR_UNKNOWN_PROPERTY
140           The requested property does not exist in the selected interface.
141
142       SD_BUS_ERROR_PROPERTY_READ_ONLY
143           A write operation was requested on a read-only property.
144
145       SD_BUS_ERROR_UNIX_PROCESS_ID_UNKNOWN
146           The requested PID is not known.
147
148       SD_BUS_ERROR_INVALID_SIGNATURE
149           The specified message signature is not valid.
150
151       SD_BUS_ERROR_INCONSISTENT_MESSAGE
152           The passed message does not validate correctly.
153
154       SD_BUS_ERROR_MATCH_RULE_NOT_FOUND
155           The specified match rule does not exist.
156
157       SD_BUS_ERROR_MATCH_RULE_INVALID
158           The specified match rule is invalid.
159
160       SD_BUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED
161           Access to the requested operation is not permitted. However, it
162           might be available after interactive authentication. This is
163           usually returned by method calls supporting a framework for
164           additional interactive authorization, when interactive
165           authorization was not enabled with the
166           sd_bus_message_set_allow_interactive_authorization(3) for the
167           method call message.
168

NOTES

170       These APIs are implemented as a shared library, which can be compiled
171       and linked to with the libsystemd pkg-config(1) file.
172

SEE ALSO

174       systemd(1), sd-bus(3), sd_bus_error(3),
175       sd_bus_message_set_allow_interactive_authorization(3), errno(3),
176       strerror(3)
177
178
179
180systemd 250                                                   SD-BUS-ERRORS(3)
Impressum