gboolean vortex_frame_is_error_message VortexFrame frame,
gchar **  code,
gchar **  message

Allows to check if the given frame contains an error message inside the frame payload.

The function not only returns if the frame is an error message but also returns the error code and the textual message.

frame The frame to check for error message inside.
code The error code the error message have (if defined)
message The textual error message (if defined)
TRUE if the frame contains an error message, FALSE if not.