The D-Bus errors used in Telepathy all start with
im.telepathy.Error.
. They are used in
D-Bus messages of type ERROR, and also as plain strings annotated with
the
In principle, any method can raise any error (this is a general fact
of IPC). For instance, generic D-Bus errors starting with
org.freedesktop.DBus.Error.
will occur in some
situations.
Telepathy methods can also raise implementation-specific errors to indicate specialized failure conditions. For better interoperability, if a suitable Telepathy error exists, it should be preferred.
The namespace im.telepathy.Qt4.Error.
is reserved for use by the D-Bus client implementation in telepathy-qt4,
which uses it to represent certain error situations that did not involve
a D-Bus ERROR message. These errors are defined and documented as part of
telepathy-qt4's C++ API, and should not be used on D-Bus.
The requested channel or other resource already exists, and another user interface in this session is responsible for it.
User interfaces SHOULD handle this error unobtrusively, since it indicates that some other user interface is already processing the channel.
Raised if the server provided an SSL/TLS certificate that did not match its hostname.
You MAY be able to get more details about the expected and certified hostnames by looking up the 'expected-hostname' and 'certificate-hostname' keys in the details map that came together with this error.
internal-server-error
, and is also appropriate if
you receive sufficiently inconsistent information from a server that
you cannot continue.
TP_DBUS_ERROR_INCONSISTENT
in telepathy-glib, and
TELEPATHY_QT4_ERROR_INCONSISTENT
in
telepathy-qt4.
Raised as a
This error corresponds to the
Raised if the user has insufficient
The key 'balance-required' MAY be included in
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.