Creates an error report and appends it to a list.
The line number and pointer to the first character of a line.
Points to the character where the error is located.
The error message.
See Implementation
Creates an error report and appends it to a list.