sd-bus-errors.xml revision dd2b607b7d1ce355e93f9f71cd256ec20b8ae9c4
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering<?xml version='1.0'?> <!--*- Mode: nxml; nxml-child-indent: 2; indent-tabs-mode: nil -*-->
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering<!--
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering This file is part of systemd.
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering Copyright 2015 Lennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering systemd is free software; you can redistribute it and/or modify it
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering under the terms of the GNU Lesser General Public License as published by
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering the Free Software Foundation; either version 2.1 of the License, or
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering (at your option) any later version.
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering systemd is distributed in the hope that it will be useful, but
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering WITHOUT ANY WARRANTY; without even the implied warranty of
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering Lesser General Public License for more details.
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering You should have received a copy of the GNU Lesser General Public License
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering along with systemd; If not, see <http://www.gnu.org/licenses/>.
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering-->
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering<refentry id="sd-bus-errors">
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refentryinfo>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <title>sd-bus-errors</title>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <productname>systemd</productname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <authorgroup>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <author>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <contrib>Developer</contrib>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <firstname>Lennart</firstname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <surname>Poettering</surname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <email>lennart@poettering.net</email>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </author>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </authorgroup>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </refentryinfo>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refmeta>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refentrytitle>sd-bus-errors</refentrytitle>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <manvolnum>3</manvolnum>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </refmeta>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refnamediv>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>sd-bus-errors</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_FAILED</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_NO_MEMORY</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_SERVICE_UNKNOWN</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_NAME_HAS_NO_OWNER</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_NO_REPLY</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_IO_ERROR</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_BAD_ADDRESS</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_NOT_SUPPORTED</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_LIMITS_EXCEEDED</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_ACCESS_DENIED</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_AUTH_FAILED</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_NO_SERVER</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_TIMEOUT</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_NO_NETWORK</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_ADDRESS_IN_USE</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_DISCONNECTED</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_INVALID_ARGS</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_FILE_NOT_FOUND</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_FILE_EXISTS</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_UNKNOWN_METHOD</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_UNKNOWN_OBJECT</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_UNKNOWN_INTERFACE</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_UNKNOWN_PROPERTY</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_PROPERTY_READ_ONLY</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_UNIX_PROCESS_ID_UNKNOWN</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_INVALID_SIGNATURE</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_INCONSISTENT_MESSAGE</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_MATCH_RULE_NOT_FOUND</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_MATCH_RULE_INVALID</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refname>SD_BUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED</refname>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refpurpose>Standard D-Bus error names</refpurpose>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </refnamediv>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refsynopsisdiv>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <funcsynopsis>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <funcsynopsisinfo>#include &lt;systemd/sd-bus.h&gt;</funcsynopsisinfo>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering<funcsynopsisinfo>#define SD_BUS_ERROR_FAILED "org.freedesktop.DBus.Error.Failed"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_NO_MEMORY "org.freedesktop.DBus.Error.NoMemory"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_SERVICE_UNKNOWN "org.freedesktop.DBus.Error.ServiceUnknown"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_NAME_HAS_NO_OWNER "org.freedesktop.DBus.Error.NameHasNoOwner"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_NO_REPLY "org.freedesktop.DBus.Error.NoReply"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_IO_ERROR "org.freedesktop.DBus.Error.IOError"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_BAD_ADDRESS "org.freedesktop.DBus.Error.BadAddress"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_NOT_SUPPORTED "org.freedesktop.DBus.Error.NotSupported"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_LIMITS_EXCEEDED "org.freedesktop.DBus.Error.LimitsExceeded"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_ACCESS_DENIED "org.freedesktop.DBus.Error.AccessDenied"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_AUTH_FAILED "org.freedesktop.DBus.Error.AuthFailed"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_NO_SERVER "org.freedesktop.DBus.Error.NoServer"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_TIMEOUT "org.freedesktop.DBus.Error.Timeout"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_NO_NETWORK "org.freedesktop.DBus.Error.NoNetwork"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_ADDRESS_IN_USE "org.freedesktop.DBus.Error.AddressInUse"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_DISCONNECTED "org.freedesktop.DBus.Error.Disconnected"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_INVALID_ARGS "org.freedesktop.DBus.Error.InvalidArgs"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_FILE_NOT_FOUND "org.freedesktop.DBus.Error.FileNotFound"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_FILE_EXISTS "org.freedesktop.DBus.Error.FileExists"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_UNKNOWN_METHOD "org.freedesktop.DBus.Error.UnknownMethod"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_UNKNOWN_OBJECT "org.freedesktop.DBus.Error.UnknownObject"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_UNKNOWN_INTERFACE "org.freedesktop.DBus.Error.UnknownInterface"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_UNKNOWN_PROPERTY "org.freedesktop.DBus.Error.UnknownProperty"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_PROPERTY_READ_ONLY "org.freedesktop.DBus.Error.PropertyReadOnly"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_UNIX_PROCESS_ID_UNKNOWN "org.freedesktop.DBus.Error.UnixProcessIdUnknown"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_INVALID_SIGNATURE "org.freedesktop.DBus.Error.InvalidSignature"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_INCONSISTENT_MESSAGE "org.freedesktop.DBus.Error.InconsistentMessage"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_MATCH_RULE_NOT_FOUND "org.freedesktop.DBus.Error.MatchRuleNotFound"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_MATCH_RULE_INVALID "org.freedesktop.DBus.Error.MatchRuleInvalid"
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering#define SD_BUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED \
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering "org.freedesktop.DBus.Error.InteractiveAuthorizationRequired"</funcsynopsisinfo>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </funcsynopsis>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </refsynopsisdiv>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refsect1>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <title>Description</title>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <para>In addition to the error names user programs define, D-Bus
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering knows a number of generic, standardized error names, that are
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering listed below.</para>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <para>In addition to this list, in sd-bus the special error
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering namespace <literal>System.Error.</literal> is used to map
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering arbitrary Linux system errors (as defined by <citerefentry
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering project='man-pages'><refentrytitle>errno</refentrytitle><manvolnum>3</manvolnum></citerefentry>)
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering to D-Bus errors and back. For example, the error
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <constant>EUCLEAN</constant> is mapped to
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <literal>System.Error.EUCLEAN</literal> and back.</para>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <variablelist>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_FAILED</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>A generic error indication. See the error
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering message for further details. This error name should be
dd2b607b7d1ce355e93f9f71cd256ec20b8ae9c4Thomas Hindoe Paaboel Andersen avoided, in favor of a more expressive error
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering name.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_NO_MEMORY</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>A memory allocation failed, and the requested
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering operation could not be completed.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_SERVICE_UNKNOWN</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The contacted bus service is unknown and
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering cannot be activated.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_NAME_HAS_NO_OWNER</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The specified bus service name currently has
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering no owner.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_NO_REPLY</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>A message did not receive a reply. This error
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering is usually generated after a timeout.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_IO_ERROR</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>Generic input/output error, for example when
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering accessing a socket or other IO context.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_BAD_ADDRESS</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The specified D-Bus bus address string is
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering malformed.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_NOT_SUPPORTED</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The requested operation is not supported on
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering the local system.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_LIMITS_EXCEEDED</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>Some limited resource has been
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering exhausted.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_ACCESS_DENIED</varname></term>
dd2b607b7d1ce355e93f9f71cd256ec20b8ae9c4Thomas Hindoe Paaboel Andersen <listitem><para>Access to a resource has been denied, due to security restrictions.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_AUTH_FAILED</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>Authentication did not complete successfully.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_NO_SERVER</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>Unable to connect to the specified server.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_TIMEOUT</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>An operation timed out. Note that method calls
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering which timeout generate a
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varname>SD_BUS_ERROR_NO_REPLY</varname>.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_NO_NETWORK</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>No network available to execute requested network operation on.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_ADDRESS_IN_USE</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The specified network address is already being listened on.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_DISCONNECTED</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The connection has been terminated.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_INVALID_ARGS</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>One or more invalid arguments have been passed.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_FILE_NOT_FOUND</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The requested file could not be found.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_FILE_EXISTS</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The requested file exists already.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_UNKNOWN_METHOD</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The requested method does not exist in the selected interface.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_UNKNOWN_OBJECT</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The requested object does not exist in the selected service.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_UNKNOWN_INTERFACE</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The requested interface does not exist on the selected object.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_UNKNOWN_PROPERTY</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The requested property does not exist in the selected interface.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_PROPERTY_READ_ONLY</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>A write operation was requested on a read-only property.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_UNIX_PROCESS_ID_UNKNOWN</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The requested PID is not known.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_INVALID_SIGNATURE</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The specified message signature is not
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering valid.</para>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_INCONSISTENT_MESSAGE</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The passed message does not validate
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering correctly.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_MATCH_RULE_NOT_FOUND</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The specified match rule does not exist.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_MATCH_RULE_INVALID</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>The specified match rule is invalid.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <term><varname>SD_BUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED</varname></term>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <listitem><para>Access to the requested operation is not
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering permitted, however, it might be available after interactive
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering authentication. This is usually returned by method calls
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering supporting a framework for additional interactive
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering authorization, when interactive authorization was not enabled
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering with the
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <citerefentry><refentrytitle>sd_bus_message_set_allow_interactive_authorization</refentrytitle><manvolnum>3</manvolnum></citerefentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering for the method call message.</para></listitem>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </varlistentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </variablelist>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </refsect1>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refsect1>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <title>Notes</title>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <para>The various error definitions described here are available
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering as a shared library, which can be compiled and linked to with the
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <constant>libsystemd</constant> <citerefentry
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering file.</para>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </refsect1>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <refsect1>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <title>See Also</title>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <para>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <citerefentry><refentrytitle>sd_bus_error</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <citerefentry><refentrytitle>sd_bus_message_set_allow_interactive_authorization</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <citerefentry project='man-pages'><refentrytitle>errno</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering <citerefentry project='die-net'><refentrytitle>strerror</refentrytitle><manvolnum>3</manvolnum></citerefentry>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </para>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering </refsect1>
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering
9d3e5d11bee9ab29a479e534622bb1b23daf9fabLennart Poettering</refentry>