Method

PurpleAccountget_error

since: 3.0

Declaration [src]

const PurpleConnectionErrorInfo*
purple_account_get_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.

Available since: 3.0

Gets propertyPurple.Account:error

Return value

Type: 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 account.

The data is owned by the instance.