diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-05-26 12:43:42 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-05-27 11:15:57 +0100 |
commit | 55900170af3616ed46439df7160ea49daa73357f (patch) | |
tree | 8bd593fe1bc5109d2fd37bac0f80f9d87a066ca3 /telepathy-glib/errors.c | |
parent | b538af80f2cf3ff405994bb5d69086191cc24d3f (diff) | |
download | telepathy-glib-55900170af3616ed46439df7160ea49daa73357f.tar.gz |
errors: add TP_ERROR_CONNECTION_REFUSED, TP_ERROR_CONNECTION_FAILED and TP_ERROR_CONNECTION_LOST
Diffstat (limited to 'telepathy-glib/errors.c')
-rw-r--r-- | telepathy-glib/errors.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/telepathy-glib/errors.c b/telepathy-glib/errors.c index 5cc860746..9f1a5d408 100644 --- a/telepathy-glib/errors.c +++ b/telepathy-glib/errors.c @@ -138,6 +138,12 @@ * particular, this error SHOULD be used whenever normal termination of a * 1-1 StreamedMedia call by the remote user is represented as a D-Bus * error name. + * @TP_ERROR_CONNECTION_REFUSED: org.freedesktop.Telepathy.Error.ConnectionRefused: + * Raised when a connection is refused. + * @TP_ERROR_CONNECTION_FAILED: org.freedesktop.Telepathy.Error.ConnectionFailed: + * Raised when a connection can't be established. + * @TP_ERROR_CONNECTION_LOST: org.freedesktop.Telepathy.Error.ConnectionLost: + * Raised when a connection is broken. * * Enumerated type representing the Telepathy D-Bus errors. */ @@ -247,6 +253,9 @@ tp_error_get_type (void) { TP_ERROR_NO_ANSWER, "TP_ERROR_NO_ANSWER", "NoAnswer" }, { TP_ERROR_DOES_NOT_EXIST, "TP_ERROR_DOES_NOT_EXIST", "DoesNotExist" }, { TP_ERROR_TERMINATED, "TP_ERROR_TERMINATED", "Terminated" }, + { TP_ERROR_CONNECTION_REFUSED, "TP_ERROR_CONNECTION_REFUSED", "ConnectionRefused" }, + { TP_ERROR_CONNECTION_FAILED, "TP_ERROR_CONNECTION_FAILED", "ConnectionFailed" }, + { TP_ERROR_CONNECTION_LOST, "TP_ERROR_CONNECTION_LOST", "ConnectionLost" }, { 0 } }; |