chiark / gitweb /
504ab1f796ad4c00e3f87ecc7d8090071bfb0058
[elogind.git] / src / shared / bus-errors.h
1 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
2
3 #pragma once
4
5 /***
6   This file is part of systemd.
7
8   Copyright 2013 Lennart Poettering
9
10   systemd is free software; you can redistribute it and/or modify it
11   under the terms of the GNU Lesser General Public License as published by
12   the Free Software Foundation; either version 2.1 of the License, or
13   (at your option) any later version.
14
15   systemd is distributed in the hope that it will be useful, but
16   WITHOUT ANY WARRANTY; without even the implied warranty of
17   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18   Lesser General Public License for more details.
19
20   You should have received a copy of the GNU Lesser General Public License
21   along with systemd; If not, see <http://www.gnu.org/licenses/>.
22 ***/
23
24 #define BUS_ERROR_NO_SUCH_UNIT "org.freedesktop.systemd1.NoSuchUnit"
25 #define BUS_ERROR_NO_UNIT_FOR_PID "org.freedesktop.systemd1.NoUnitForPID"
26 #define BUS_ERROR_UNIT_EXISTS "org.freedesktop.systemd1.UnitExists"
27 #define BUS_ERROR_LOAD_FAILED "org.freedesktop.systemd1.LoadFailed"
28 #define BUS_ERROR_JOB_FAILED "org.freedesktop.systemd1.JobFailed"
29 #define BUS_ERROR_NO_SUCH_JOB "org.freedesktop.systemd1.NoSuchJob"
30 #define BUS_ERROR_NOT_SUBSCRIBED "org.freedesktop.systemd1.NotSubscribed"
31 #define BUS_ERROR_ALREADY_SUBSCRIBED "org.freedesktop.systemd1.AlreadySubscribed"
32 #define BUS_ERROR_ONLY_BY_DEPENDENCY "org.freedesktop.systemd1.OnlyByDependency"
33 #define BUS_ERROR_TRANSACTION_JOBS_CONFLICTING "org.freedesktop.systemd1.TransactionJobsConflicting"
34 #define BUS_ERROR_TRANSACTION_ORDER_IS_CYCLIC "org.freedesktop.systemd1.TransactionOrderIsCyclic"
35 #define BUS_ERROR_TRANSACTION_IS_DESTRUCTIVE "org.freedesktop.systemd1.TransactionIsDestructive"
36 #define BUS_ERROR_UNIT_MASKED "org.freedesktop.systemd1.UnitMasked"
37 #define BUS_ERROR_JOB_TYPE_NOT_APPLICABLE "org.freedesktop.systemd1.JobTypeNotApplicable"
38 #define BUS_ERROR_NO_ISOLATION "org.freedesktop.systemd1.NoIsolation"
39 #define BUS_ERROR_SHUTTING_DOWN "org.freedesktop.systemd1.ShuttingDown"
40 #define BUS_ERROR_SCOPE_NOT_RUNNING "org.freedesktop.systemd1.ScopeNotRunning"
41
42 #define BUS_ERROR_NO_SUCH_MACHINE "org.freedesktop.machine1.NoSuchMachine"
43 #define BUS_ERROR_NO_MACHINE_FOR_PID "org.freedesktop.machine1.NoMachineForPID"
44 #define BUS_ERROR_MACHINE_EXISTS "org.freedesktop.machine1.MachineExists"
45 #define BUS_ERROR_NO_PRIVATE_NETWORKING "org.freedesktop.machine1.NoPrivateNetworking"
46
47 #define BUS_ERROR_NO_SUCH_SESSION "org.freedesktop.login1.NoSuchSession"
48 #define BUS_ERROR_NO_SESSION_FOR_PID "org.freedesktop.login1.NoSessionForPID"
49 #define BUS_ERROR_NO_SUCH_USER "org.freedesktop.login1.NoSuchUser"
50 #define BUS_ERROR_NO_USER_FOR_PID "org.freedesktop.login1.NoUserForPID"
51 #define BUS_ERROR_NO_SUCH_SEAT "org.freedesktop.login1.NoSuchSeat"
52 #define BUS_ERROR_SESSION_NOT_ON_SEAT "org.freedesktop.login1.SessionNotOnSeat"
53 #define BUS_ERROR_NOT_IN_CONTROL "org.freedesktop.login1.NotInControl"
54 #define BUS_ERROR_DEVICE_IS_TAKEN "org.freedesktop.login1.DeviceIsTaken"
55 #define BUS_ERROR_DEVICE_NOT_TAKEN "org.freedesktop.login1.DeviceNotTaken"
56 #define BUS_ERROR_OPERATION_IN_PROGRESS "org.freedesktop.login1.OperationInProgress"
57 #define BUS_ERROR_SLEEP_VERB_NOT_SUPPORTED "org.freedesktop.login1.SleepVerbNotSupported"
58
59 #define BUS_ERROR_AUTOMATIC_TIME_SYNC_ENABLED "org.freedesktop.timedate1.AutomaticTimeSyncEnabled"
60
61 #define BUS_ERROR_NO_SUCH_PROCESS "org.freedesktop.systemd1.NoSuchProcess"
62
63 #define BUS_ERROR_NO_NAME_SERVERS "org.freedesktop.resolve1.NoNameServers"
64 #define BUS_ERROR_INVALID_REPLY "org.freedesktop.resolve1.InvalidReply"
65 #define BUS_ERROR_NO_SUCH_RR "org.freedesktop.resolve1.NoSuchRR"
66 #define BUS_ERROR_NO_RESOURCES "org.freedesktop.resolve1.NoResources"
67 #define BUS_ERROR_CNAME_LOOP "org.freedesktop.resolve1.CNameLoop"
68 #define BUS_ERROR_ABORTED "org.freedesktop.resolve1.Aborted"
69 #define _BUS_ERROR_DNS "org.freedesktop.resolve1.DnsError."