Reinserts on 'error', places err.name over err.type