Define MAKE_ERROR_MSG#

Define Documentation#

MAKE_ERROR_MSG(id, identifier, topic, description)#

Macro for making an error message definition.

This macro creates three variables for the use of error reporting:

<identifier> The assigned error code (application return code).

<identifier>_MSG The assigned error message.

<identifier>_DESC The assigned error explanation.

Parameters:
  • id – The ID of the message (integer)

  • identifier – The identifier used for the message assignment.

  • topic – The string to explain the error in one sentence.

  • description – The string to provide detailed information about the error.