Updated error format to parse ReferenceError
Fixed a bug when an exception was thrown in the "main" function
Fixed reading internal node files
New error format
Adding all the possible type errors