axl_bool vortex_channel_validate_err ( VortexFrame frame,
char **  code,
char **  msg 
)

Validates err message received from remote peer.

Parameters
frameThe frame where the error message was received.
codeThe error code inside the frame payload.
msgThe message code inside the frame payload.
Returns
axl_true if the a error message as found, axl_false if not.

References vortex_frame_get_ctx(), vortex_frame_get_payload(), and vortex_frame_get_payload_size().

Referenced by vortex_frame_is_error_message().