Move ParsedError to own file, comment it and index.js