Add a pragma no cover on error line