Define RCUTILS_SET_ERROR_MSG_AND_APPEND_PREV_ERROR

Define Documentation

RCUTILS_SET_ERROR_MSG_AND_APPEND_PREV_ERROR(msg)

Set the error message using RCUTILS_SET_ERROR_MSG and append the previous error.

If there is no previous error, has same behavior as RCUTILS_SET_ERROR_MSG.

Parameters:
  • msg[in] The error message to be set.