Function

PurpleConnectionErrorInfonew

Declaration [src]

PurpleConnectionErrorInfo*
purple_connection_error_info_new (
  PurpleConnectionError type,
  const gchar* description
)

Description [src]

Creates a new error info with the given properties.

Available since:3.0.0

Parameters

type PurpleConnectionError
 

The PurpleConnectionError of the error.

description const gchar*
 

The description of the error.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: PurpleConnectionErrorInfo
 

The new instance.

 The caller of the function takes ownership of the data, and is responsible for freeing it.