======= AddError ====== This function outputs a user-defined error message for a specific error. The //error message// is defined as the first parameter, optionally a //reference number// can then be passed as the second parameter. If this error occurs, the user-defined error message is output in the log. If the mapping is used within a running job, a task is generated in addition to the log entry in case of an error. The error code is a mandatory string that should start with 'C'((Custom error)) and can be up to 16 characters long. ==== syntax: ==== AddError('ErrorCode', 'Error description', ['OrderReference']) ==== example: ==== AddError("C4711", "This is an Error with code 4711")