The function searches x for a pattern matching the format 'ERR:5-alphanumeric-character-code:project-name:source-file:error-specifics:'. Specifically it searches for a regular expression pattern "ERR:[0-9a-zA-Z]+:[^:]+:[^:]+:[^:]+:[^:]*:".
PCMParseErrorMessage(x)
character string representing the error message.
a named list with the parsed error information or NULL, if no match was found. The elements of this list are named as follows:
The type of the error message. Usually this is ERROR, but could be WARNING or anything else.
An an alphanumeric code of the error.
The name of the project locating the code that raised the error.
The name of the source-file containing the code that raised the error.
The name of the function raising the error
A character string containing additional error-specific information
A verbal description of the error.