PxMsgIdError()

Return the last error of the object handle Msg.

APPLIES TO

8.2.0

SYNOPSIS
PxError_t PxMsgIdError (PxMsg_t Msg);
ARGUMENTS
Msg

A Msg handle

RETURN VALUES
  • The last error of the object handle Msg

DESCRIPTION

PxMsgIdError returns the last error of the object handle Msg.

USAGE
#include "pxdef.h"

PxError_t err = PxMsgIdError(Msg);

if (err != PXERR_NOERROR) {
    // Report error
}