Raising error if parse of source file fails