char * vortex_frame_get_error_message ( const char *  code,
const char *  error_content,
const char *  xml_lang 
)

Creates and return the error message.

Allows to create a new error message that should be unrefered when no longer is needed.

Parameters
codeThe error code to report.
error_contentThe error content, actually the textual error diagnostic.
xml_langThe language used to define the diagnostic message.
Returns
A newly allocated error message.

Referenced by vortex_channel_notify_close(), and vortex_greetings_error_send().