remove unused error gens, throw error if closed

rename j -> that