Method

PurpleAccountget_current_error

Declaration [src]

const PurpleConnectionErrorInfo*
purple_account_get_current_error (
  PurpleAccount* account
)

Description [src]

Get the error that caused the account to be disconnected, or NULL if the account is happily connected or disconnected without an error.

Return value

Returns: PurpleConnectionErrorInfo
 

The type of error and a human-readable description of the current error, or NULL if there is no current error. This pointer is guaranteed to remain valid until the ref account-error-changed signal is emitted for a account.

 The data is owned by the instance.